I have a couple weapons with the ability:
I looked at the Thunder and Fang feat for an idea of how this might work and I came up with the code:
Final/1000
But it's not working and I'm not sure where to look next. Any suggestions?
The character gains a +1 bonus to his AC when fighting defensively and a +2 bonus to AC when using the total defense action while using a tonfa. Using a tonfa in each hand (incurring the normal two-weapon fighting penalties) increases this bonus to +2 and +3, respectively.
I looked at the Thunder and Fang feat for an idea of how this might work and I came up with the code:
Final/1000
Code:
if (hero.tagis[Condition.pstTotDef] <> 0) then
foreach pick in hero from BaseWep
if (eachpick.tagis[IsWeapon.wRPTonfa] + eachpick.tagis[Hero.OffHand] = 2) then
hero.child[ArmorClass].field[Bonus].value += 3
else
hero.child[ArmorClass].field[Bonus].value += 2
endif
nexteach
endif
But it's not working and I'm not sure where to look next. Any suggestions?
Last edited: