I am creating a Ring for Sorcerers that will increase the number of Spells per Day by 1 for 1st, 2nd, and 3rd levels spells.
I am onyl guessing at this as I am not a script writer.
Looking at other items, I came up with this (that does not work)/;
Phase: Final Phase Priority: 10000 Index: 1
~ if we're equipped, apply additional spells per day at levels 1, 2 and 3.
if (field[gIsEquip].value <> 0) then
hero.child[cHelpWiz].field[cCastMax].arrayvalue[1] += 1
hero.child[cHelpWiz].field[cCastMax].arrayvalue[2] += 1
hero.child[cHelpWiz].field[cCastMax].arrayvalue[3] += 1
endif
I am not sure of the correct Thing field to use.
Thanks for your time
I am onyl guessing at this as I am not a script writer.
Looking at other items, I came up with this (that does not work)/;
Phase: Final Phase Priority: 10000 Index: 1
~ if we're equipped, apply additional spells per day at levels 1, 2 and 3.
if (field[gIsEquip].value <> 0) then
hero.child[cHelpWiz].field[cCastMax].arrayvalue[1] += 1
hero.child[cHelpWiz].field[cCastMax].arrayvalue[2] += 1
hero.child[cHelpWiz].field[cCastMax].arrayvalue[3] += 1
endif
I am not sure of the correct Thing field to use.
Thanks for your time