Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
I'm working on implementing an ability that changes a gnome from small to diminutive.
My code is currently Code:
<thing id="raRPGnoTri" name="Trixie Transformation" compset="RaceSpec" summary="you become diminuative and may grow wings" uniqueness="unique"> <tag group="Helper" tag="ShowSpec"/> <tag group="AbilType" tag="Super"/> <tag group="User" tag="Activation"/> <tag group="User" tag="Tracker"/> <eval phase="UserFirst" priority="2000">doneif (field[abilActive].value = 0) hero.child[aDEX].field[Bonus].value += 4 hero.child[aSTR].field[Penalty].value -= 6 ~we want to decrease our size by -2 var sizemod as number sizemod = -2 call SizeChange</eval> </thing> Anyways, when activated as it is currently everything seems to update properly, except the AC. Currently I get the +3 AC for the size change, but not the bonus from the dexterity increase. If I comment out the size change I get the bonus from dexterity. I can't see what I am missing here. Any ideas? Andrew |
#1 |
|
|