I've been trying to use the "Bonus wizard spells (42)" opcode to lower the spell progression of a kit I've been making. Essentially I used a single spell file, with different abilities that each have a different minimum level (1, 2, 3, ...). Each of these abilities have effects which lower the amount of spells cast per day for various spell levels as an Instant/Permanent effect.
Originally, I was simply applying these each level, stack them upon one another, but eventually (once I started adding spells per day to undo previous negative spells per day), the spell per day amounts got really crazy. This bug in mind, I tried to have each prospective effect level handle all of the negative spells per day of each level on its own (no more effect stacking), and I used the "Remove effects by resource (321)" opcode to undo previous levels of this effect before applying the new one.
Here is where I have my problem, even if I remove the effects of the ability (we'll call it NEGSPD.spl) before I apply the next one, the next one leaves no effect. Even if I use a second ability to first remove effects of NEGSPD.spl and cast NEGSPD.spl after a short delay (using opcode "Cast spell (146)" with delay/permanent duration of 1) , there is no effect from NEGSPD.spl.
Now I believe I could just use a different spell file for each level, but it's really an inelegant solution, so if anyone could help me figure it out without doing that, I would be really grateful :D
Originally, I was simply applying these each level, stack them upon one another, but eventually (once I started adding spells per day to undo previous negative spells per day), the spell per day amounts got really crazy. This bug in mind, I tried to have each prospective effect level handle all of the negative spells per day of each level on its own (no more effect stacking), and I used the "Remove effects by resource (321)" opcode to undo previous levels of this effect before applying the new one.
Here is where I have my problem, even if I remove the effects of the ability (we'll call it NEGSPD.spl) before I apply the next one, the next one leaves no effect. Even if I use a second ability to first remove effects of NEGSPD.spl and cast NEGSPD.spl after a short delay (using opcode "Cast spell (146)" with delay/permanent duration of 1) , there is no effect from NEGSPD.spl.
Now I believe I could just use a different spell file for each level, but it's really an inelegant solution, so if anyone could help me figure it out without doing that, I would be really grateful :D








