• 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

Add spell to wizard list & check source books opted in

Hi all.

I'm trying to implement the Theurgy Arcane Tradition for the Wizard in 5e. Reference doc https://media.wizards.com/2016/dnd/downloads/UA Non-Divine Faithful SFG.pdf

I'm having dificulty in adding a spell to the wizard spell list. I can bootstrap it to the book, but I need it to be available to the user to add it to the book.

I've fooled around with SpellSort.cHelpWiz, SpellType.cHelpWiz sClass.cHelpWiz CasterType.MemBook and portal.Clsbook .To no avail.

Has anyone done that?

Also, I'd like to make the Arcana domain available only if the Sword Coast Adventuring Guide has been selected. How do I test if it has been selected?
 
So, after a while, here's what I found. Each class has a thing by the name cHelpXXX, where XXX is the class abbreviation. So, for example, a wizard has cHelpWiz, and a cleric has cHelpClr.

This thing is used to do the class mechanics, which includes spellcasting. Turns out, some of the fields here are used to build the spell lists for the class they represent. Each of the fields below holds a tag expression, which determines what spells should be displayed in an specific list:

So, you have:

cCnKnoExpr = controls the cantrip list for the class
cSpellExpr = controls the spell selection for Memorization classes.
cSplBkExpr = controls the spell selection for a wizard's spellbook. This is the list where you add spells to the spellbook.
cSpMemExpr = controls the spell selection for a wizard's memorized spells. This is the list of spells in your spellbook that you want to memorize.

Notice that cSplBkExpr and cSpMemExpr work in concert. If a spell is valid in cSplBkExpr but not on cSpMemExpr, you will be able to add it to your spellbook, but not to memorize it. In fact, if none of the spells you added to your book are valid by cSpMemExpr, HL will behave as if you had an empty spellbook, telling you to add more.

Now that we now what to change, we need to find out when to change it.

It turn's out, there's an event on Final Phase, order 20000, that does all the cantrip/spell lists calculations. So, you need to manupulate these fields after that, for example, Final Phase, 21000.

I need to test out a few things, but the core of what I wanted is here.
 
Back
Top