Ability says:
Each time the rogue selects this avoidance, she gains a +1 dodge bonus to AC when fighting defensively. So I did this:
<First/500>
Code:
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ if we're not fighting defensively, get out now
if (hero.childfound[pstFtDefen].field[pIsOn].value <> 0) then
~ Set the bonus based on the number of active abilities
field[abValue].value += field[xIndex].value
field[livename].text = field[thingname].text & " " & field[abValue].value
~ The following should only happen once on the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~ Give a dodge bonus to Armor Class
hero.childfound[ArmorClass].field[tACDodge].value += field[abValue].value
endif
But dodge bonus does not add. Why is this happening?