This ability adds damage to sneak attack equal to the number of sneak attack dice the rogue currently has. I wrote this:
<Post-Attributes/10000>
But abValue consistently results in zero. I thought it might be a timing issue, so I tried everything from <First/500> to <Render/20000>, but still got the same result.
What have I done wrong, O wise and powerful HL community?
<Post-Attributes/10000>
Code:
~ our value is the same as our sneak attack die count
field[abValue].value += hero.childfound[cSneakAtt].field[abValue].value
~ If sneak attack is activated
if (hero.child[cSneakAtt].field[abilActive].value <> 0) then
foreach pick in hero from BaseWep
#extradamage[eachpick,field[abValue].value,field[thingname].text]
nexteach
endif
But abValue consistently results in zero. I thought it might be a timing issue, so I tried everything from <First/500> to <Render/20000>, but still got the same result.
What have I done wrong, O wise and powerful HL community?