I am getting the following error with the files I am currently working with and I can't figure out what's wrong with the script.
Hero Lab was forced to stop compilation after the following errors were detected:
Syntax error in 'eval' script for Thing 'raKPInfDer' (Eval Script '#1') on line 6
-> Error in right-side expression of assignment
Code:
<thing id="raKPInfDer" name="Infiltrator" description="The derro gains a +2 racial bonus on Disguise checks to pose as a diseased dwarf, gnome, or human child and, when doing so, ignores the check penalties for disguising oneself as a different race and age category. This racial trait replaces the ghost sound spell-like ability." compset="AltRaceTrt" uniqueness="unique">
<comment>TO DO:
Not implemented yet</comment>
<usesource source="bKPAdvRace"/>
<tag group="RaReplace" tag="raKPDeGhSn"/>
<tag group="AllowRCust" tag="rKPLDerARC"/>
<tag group="Helper" tag="NoPathSoc"/>
<tag group="SpecType" tag="Skill"/>
<bootstrap thing="raDisguise">
<autotag group="Value" tag="2"/>
</bootstrap>
<eval phase="PreLevel" priority="10000" index="2">~ Our value defaults to +2
field[abValue].value += 2</eval>
<eval phase="Render" priority="1000">~ If we're disabled, do nothing
doneif (tagis[Helper.SpcDisable] <> 0)
var Text as string
~ Build Text String once
Text = signed(field[abValue].value) & “ bonus on Disguise checks to pose as a diseased dwarf, gnome, or human child. Ignore check penalty to disguise self as different race or age, when doing so.”
~ Set situational text onto Disguise.
#situational[hero.childfound[skDisguise],Text,field[thingname].text]</eval>
</thing>