I am having a bit of a hard time figuring out how to keep the field for currently memorized spells on the class tab... I've used this code, but for some reason the array increments upward for every class instead of the 1 class I am trying to get it to work for.
Code:
<eval index="6" phase="Effects" priority="6000"><![CDATA[
foreach pick in hero from Spell where "SpellLevel.01"
field[clMemCur].arrayvalue[0] += eachpick.field[spPrepared].value
nexteach
]]></eval>