I'm trying to get the Improved Toughness Feat from Complete Warrior into Hero Lab.
Managed to get the Base Fortitude save Pre-Requisite to work using this script,
if (child[vFort].field[vBase].value >= 2) then
@valid = 1
endif
However I can't get the current Hit Dice to add to the Hit point total of a test character.
I've looked at the standard Toughness feat Eval script and thought I could just modify the end to add the Total.Field [tHitDice] as a modifier instead of the +3 but it Doesn't work though.
Toughness Feat Eval Script
container.child[Totals].field[tHP].value = container.child[Totals].field[tHP].value + 3
Heres the Eval script i'm trying for Improved Toughness.
container.child[Totals].field[tHP].value = container.child[Totals].field[tHP].value + container.child[Totals].field[tHitDice].value
Does anyone have any ideas why it's not working?
Managed to get the Base Fortitude save Pre-Requisite to work using this script,
if (child[vFort].field[vBase].value >= 2) then
@valid = 1
endif
However I can't get the current Hit Dice to add to the Hit point total of a test character.
I've looked at the standard Toughness feat Eval script and thought I could just modify the end to add the Total.Field [tHitDice] as a modifier instead of the +3 but it Doesn't work though.
Toughness Feat Eval Script
container.child[Totals].field[tHP].value = container.child[Totals].field[tHP].value + 3
Heres the Eval script i'm trying for Improved Toughness.
container.child[Totals].field[tHP].value = container.child[Totals].field[tHP].value + container.child[Totals].field[tHitDice].value
Does anyone have any ideas why it's not working?