Quote:
Originally Posted by Senko
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
|
You should be looking at Priority and Timing as well, not just the script. Everything in Hero Lab has a Phase and Priority, if you don't time the script right it won't do anything. Also, the else part of that first if then is not needed if you just want to add a number of hit points equal to HD.