• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

apply as many Classes.Fighter as HD

pippin_nl

Well-known member
Is it possible to apply as many Classes.Fighter tags as a monster has HD? If so is it possible to do it with a feat?
 
Not a good idea. Adding extra Classes tags will confuse anything which wants to count the total class level.
 
The problem is I made a feat to give a monster the abilities of a fighter with the same number of HD, but I can't use the fighter requisite feats yet (pre levels / 4000):

perform hero.findchild[BaseRace].setfocus
doneif (state.isfocus = 0)

var racialHD as number
racialHD = focus.field[rHitDice].value

var classHD as number
classHD = minimum(20,racialHD)

foreach pick in hero from BaseClSpec where "SpecSource.cHelpFtr"

eachpick.field[xExtraLev].value += classHD

nexteach

foreach pick in hero where "SpecSource.cHelpFtr"

eachpick.field[cGiveSpec].value += 2
eachpick.field[cGiveSp2nd].value += 1

nexteach
 
Fighter feats use Classes.Fighter tags and another tag that is like FighterFeat or something. Ug I have been up all night cause of issues at work and I can't think. But its a different Tag that you apply that says you have equivalent levels to fighter but not actually have fighter levels.

Sigh Aaron can you help out? Never mind I found it its "FtCountAs.Fighter". This is the other tag that Fighter Feats count actually. This is similar I think you will find on the Magus that gets to count itself as fighter levels for purposes of meeting Feat Requirements. If not the new Warpriest out in a few days will have that built into the class.
 
Fighter feats use Classes.Fighter tags and another tag that is like FighterFeat or something. Ug I have been up all night cause of issues at work and I can't think. But its a different Tag that you apply that says you have equivalent levels to fighter but not actually have fighter levels.

Sigh Aaron can you help out? Never mind I found it its "FtCountAs.Fighter". This is the other tag that Fighter Feats count actually. This is similar I think you will find on the Magus that gets to count itself as fighter levels for purposes of meeting Feat Requirements. If not the new Warpriest out in a few days will have that built into the class.

Neither the Magus nor the Warpriest allows "Weapon Specialization". Adding FtCountAs.Fighter to the Tags does not allow a monster to take the feat. I come across the exact same problem with the druid (druid domains), but there adding the tag also doesn't work.

Thanks for your help so far.
 
Neither the Magus nor the Warpriest allows "Weapon Specialization". Adding FtCountAs.Fighter to the Tags does not allow a monster to take the feat. I come across the exact same problem with the druid (druid domains), but there adding the tag also doesn't work.

Thanks for your help so far.

I just tested, and the magus DOES properly work with Weapon Specialization. The prerequisite is granted by a 10th level Class Special called Fighter Training (cMagFtrTrn). Its eval script is shown below:

Code:
      ~ half our level
      field[abValue].value += round(field[xAllLev].value/2,0,-1)

      ~ If we're not shown, just get out now
      doneif (tagis[Helper.ShowSpec] = 0)

      ~ If we're disabled, do nothing
      doneif (tagis[Helper.SpcDisable] <> 0)

      ~ add that many fighter-counts-as tags to the hero
      var i as number
      for i = 1 to field[abValue].value
        [COLOR="Red"]perform hero.assign[FtCountAs.Fighter][/COLOR]
        next

As you can see, it adds the proper number of FtCountAs.Fighter tags to the hero. The Fighter combat feats check for this as so:

Code:
        [COLOR="red"]validif (#featlevelcount[Fighter] >= 4)[/COLOR]

I have to assume, based on it working, that the #featlevelcount[xxxx] macro checks the number of Classes.xxxx and FtCountAs.xxxx tags.

Therefore, adding the following to your above feat's code should work:
Code:
     var racialHD as number
     racialHD = focus.field[rHitDice].value
      var i as number
      for i = 1 to RacialHD
        perform hero.assign[FtCountAs.Fighter]
        next
 
Last edited:
Back
Top