I need the collective wisdom of the crowd. I am trying to create a racial ability that adds +1 to AC when an ally is next to the creature. I wanted to code this as a user activated ability, but for the life of me, I can't get the AC to change. This is the script:
It works without the if/then wrap, but I can't workout how to get it to change on ticking the box in the In-Play tab.
Secondly, I have created a bunch of spell casters that when I select spells (via Racial spells tab), I get validation errors for too many spells, even if I just put in one spell.
if (field[actUser].value <> 0) then
hero.child[ArmorClass].field[Bonus].value += 1
endif
It works without the if/then wrap, but I can't workout how to get it to change on ticking the box in the In-Play tab.
Secondly, I have created a bunch of spell casters that when I select spells (via Racial spells tab), I get validation errors for too many spells, even if I just put in one spell.