I know I'm just missing somthing really simple here, but I'm trying to put in the following for an Eval-Script to bump Str by 1 die type if it's less than d12 or add +2 to it if it's at d12.
I get an error about invalid use of a reserved word on the first line of the script, though. Anyone have some idea what I should be using there?
Code:
if (hero.child[attrStr].field[trtFinal].value <= 5)
perform #traitadjust[attrStr,+,1,"Tragor's Mantle"]
else
perform #traitadjust[attrStr,+,2,"Tragor's Mantle"]
endif
I get an error about invalid use of a reserved word on the first line of the script, though. Anyone have some idea what I should be using there?