I have modified a script for a robe that grants 2 0 level spells to a wizard. This is the script
~if we're not equipped, just get out now
doneif (field[gIsEquip].value = 0)
~add two more Arcane spells for Arcane classes
~Add extra spell levels appropriately
foreach pick in hero where "Hero.Arcane"
eachpick.field[cMemMax].arrayvalue[0] += 2
eachpick.field[cCastMax].arrayvalue[0] += 2
nexteach
This works fine, but I am at a loss how to add two 0 level spell slots for an arcanist or a summoner. I tried spontcast, but that didn't work. If it worked for any spontaneous arcane class that would be great. What am I missing.
Thanks.
Kal
~if we're not equipped, just get out now
doneif (field[gIsEquip].value = 0)
~add two more Arcane spells for Arcane classes
~Add extra spell levels appropriately
foreach pick in hero where "Hero.Arcane"
eachpick.field[cMemMax].arrayvalue[0] += 2
eachpick.field[cCastMax].arrayvalue[0] += 2
nexteach
This works fine, but I am at a loss how to add two 0 level spell slots for an arcanist or a summoner. I tried spontcast, but that didn't work. If it worked for any spontaneous arcane class that would be great. What am I missing.
Thanks.
Kal