This is what I'm using:
Quote:
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
var levels as number
levels = #totallevelcount[] - #levelcount[Alchemist]
field[trkMax].value += #levelcount[Alchemist] round(levels/2,0,-1)
|
This is the error I'm getting:
Hero Lab was forced to stop compilation after the following errors were detected:
Quote:
Syntax error in 'eval' script for Thing 'cRGGAlDe' (Eval Script '#1') on line 7
-> Error in right-side expression of assignment
|
I've also tried (from the Bravery script):
Quote:
field[listname].text = "Reduce Hardness by +" & field[xIndex].value
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)
var calclevel as number
calclevel = #levelcount[Alchemist].value
field[abValue].value = round(calclevel/2, 0, -1)
|
And I'm getting the error:
Quote:
Hero Lab was forced to stop compilation after the following errors were detected:
Syntax error in 'eval' script for Thing 'cRGGAlDe' (Eval Script '#1') on line 7
-> Error in right-side expression of assignment
|
Even with the change, I can't get it to compile.