• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Help with error

Kaleb

Well-known member
I am making a variation of the Paladin Lay on the hands and I want to make
it 1d6 per level.
Post levels 10000 index 1
field[abValue].value += (field[xAllLev].value, 0, -1)


Hero Lab was forced to stop compilation after the following errors were detected:

Syntax error in 'eval' script for Thing 'cHLonHands' (Eval Script '#1') on line 1
-> Error in right-side expression of assignment

what do the 0 and -1 do after the last value do?
 
looks like you're trying to use the round function, but if you're just setting it equal to the level just make it

field[abValue].value += field[xAllLev].value
 
Back
Top