Stupid password difficulties.
Good idea thanks, I hadn't thought of that.
The scripts there do nothing in the template but I'll play around and see if I can figure out why.
~ If we are using the wounds and vigor variant we need to adjust for that
if (hero.tagis[source.UCWound] <> 0) then
~ our bonus is our hit dice
field[abValue].value += herofield[tHitDice].value
else
~ our bonus is our hit dice or 3, whichever is higher
field[abValue].value += maximum(herofield[tHitDice].value, 3)
endif
and
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
~ If we are using the wounds and vigor variant we need to adjust for that
if (hero.tagis[source.UCWound] <> 0) then
~ add that bonus to our wounds total
container.child[Wounds].field[wndFeat].value += field[abValue].value
else
~ add that bonus to our hit points
container.child[Totals].field[tBonusHP].value += field[abValue].value
endif
|