View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old November 26th, 2020, 08:18 AM
Senko, that code from post #2 in this thread is what you put in an eval script on the template itself? Or was this on an ability bootstrapped from the template? Because that shouldn't have even compiled if it was on the template - the abValue field does not exist on the "Template" compset, the way it does on the "Feat" compset.

You'll need to use a variable instead - replace all references to abValue with the variable.
Code:
var hitpointstoadd as number

hitpointstoadd += herofield[tHitDice].value
Oh, and in the Develop menu, make sure you have "Enable Data File Debugging" turned on. That would have given you extra error messages that might have flagged this.

Also, in the second section of that template, Helper.FtDisable is a test that is only relevant to feats.
Mathias is offline   #9 Reply With Quote