Quote:
Originally Posted by Lord Magus
tCurrSan is a field on the hero, not a pick to be found on the hero.
Hence hero.field[tCurrSan].value should not trigger that error
|
Ok, I changed the eval script to
field[abDC].value += hero.field[tCurrSan].value + hero.field[svWill].value
but I get the following error:
Syntax error in 'eval' script for Thing 'fSanTrack' (Eval Script '#1') on line 11
-> Invalid use of reserved word 'hero' in script
I also tried it with hero.childfound[svWill].value (because I'm still figuring out how to tell the difference between picks and fields), but I got the same error message.
It's definitely a step in the right direction, so thank you, but I'm still a novice and learning so could you tell me where I'm messing up?
For reference, I'm trying to keep it simple and run it as a Feat with id fSanTrack. I set the Phase as Post-Attributes, Priority 10001 as per ShadowChemosh's update above.