I am trying to code some new evolutions for eidolons that have pre-requisites linked to the summoner. In these particular cases, most of them are linked either to a race or an alternate racial trait, with one linked to the presence of Flight speed. I seem to be having problems grasping how to work out pre-requisites scripts in this case.
I first took a look at the Celestial Appearance evolution that requires the summoner to be of good alignment. From there, I tried this out:
That returned an 'invalid use of reserved word' error on line 3. It's probably something very minor I'm missing, but any help would be appreciated.
EDIT: Forgot to mention that I am not having issues with coding the other pre-reqs. Just this one.
I first took a look at the Celestial Appearance evolution that requires the summoner to be of good alignment. From there, I tried this out:
if (ishero = 0) then
validif (hero.child[xFly].value > 0)
elseif (isminion <> 0) then
validif (master.child[xFly].value > 0)
endif
That returned an 'invalid use of reserved word' error on line 3. It's probably something very minor I'm missing, but any help would be appreciated.
EDIT: Forgot to mention that I am not having issues with coding the other pre-reqs. Just this one.
Last edited: