• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Empty Spell Slots for Spellpool

Sevisin

Well-known member
Hello,

I noticed Mage of the Arcane Order wasn't incorporated in Hero Lab regardless of the source (Complete Arcane pg. 48) so I decided to work on it myself. While working on the file, one of the requirements for Spellpool is to have an open spell slot available (ie. an unmemorized spell from a wizard). While constructing the ability, I hit a small wall in trying to create a condition to have an empty spell slot, much less a condition where the magic was repaid. Any thoughts on how to approach this matter?

Thanks,

-S
 
Ideally, we'd be able to read the validation report that there are additional spells to memorize/learn. If that is possible, this would be made a bit easier. Barring that, you would need a fairly complicated script that looks at certain array values depending on the type of caster you have.

For example, the Sorcerer has the tag "CasterType.SpontKnow" so you would need to look at the array fields 'cKnowMax' and 'cKnowCur'.

Meanwhile, the Wizard has the tag CasterType.Membook, so you would need the array fields 'cMemMax' and 'cMemCur'.

This effort is already done in the validation tool, but I'm not aware of any way to access that information. Maybe Shadow has an idea. Barring that, you'd basically need to write a new script to compare each of the array values to each other to determine if there are any spell slots open.
 
Not that I can think of. Pretty much what you outlined Sendric is what I would do in this case also. The only difference maybe is I would push a tag off the Class to the Hero that can be easily checked by other Things. This would allow you to easily test the tag on the hero to see if the class can still memorize spells.
 
Not that I can think of. Pretty much what you outlined Sendric is what I would do in this case also. The only difference maybe is I would push a tag off the Class to the Hero that can be easily checked by other Things. This would allow you to easily test the tag on the hero to see if the class can still memorize spells.

Yes, I was thinking about that as well. It could be useful if other things want to see if there are empty slots. Either way, the script needs to be created. Perhaps I can look at doing that as a generic script on all heroes.
 
Thanks for looking into it. I was kind of thinking there may be one already done since a lot of metamagic feats require open spellslots to activate. May be something that should be utilized for the engine itself considering the amount of uses it has.
 
Ok. I believe I have created a script that could work for all classes. One caveat is that it doesn't distinguish between open slots and too many spells cast/known. This shouldn't be a major issue in my opinion, and making it perfect seems like more work than its worth.

That said, it should provide an adequate solution. If you're interested in having this, please message me with your email address.
 
Back
Top