if I wanted to add a +5 ac bonus to the adamantine material would this be the correct eval script
~ If we're equipped, add an armor bonus
if (field[gIsEquip].value <> 0) then
hero.child[ArmorClass].field[tAC].field[Bonus].value + 5
Endif
I am getting this error
Hero Lab was forced to stop compilation after the following errors were detected:
Syntax error in 'eval' script for Thing 'mWATAdamup' (Eval Script '#2') on line 3
-> Invalid use of a reserved word in script
~ If we're equipped, add an armor bonus
if (field[gIsEquip].value <> 0) then
hero.child[ArmorClass].field[tAC].field[Bonus].value + 5
Endif
I am getting this error
Hero Lab was forced to stop compilation after the following errors were detected:
Syntax error in 'eval' script for Thing 'mWATAdamup' (Eval Script '#2') on line 3
-> Invalid use of a reserved word in script