• 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

Description based spell list

AndrewD2

Well-known member
So a class I'm working on has a spell list that states:

may choose to prepare any spell from the divination and illusion schools of magic and any spells with the curse, darkness, light, mind affecting, negative energy, and positive energy descriptors (regardless of school of magic)

Is there a way to add this spell list through a script or will I have to mark each of the 300+ spells available to this class?
 
To answer this question for yourself, add some of these spells to a character, and then use the debugging tools to study the tags on those spells. Are all of those pieces of information stored as tags? What tags are they - how can you write an expression that will find only those spells? Can you think of any other classes in Hero Lab that do something similar, like the Red Mantis Assassin or Prophet of Kalistrade?
 
Last edited:
Thank you. I had not looked at those classes before and the people helping me try to figure it out didn't think of them either. I had not seen the cSpellExpr field before.

I was trying to go through a foreach that push/pull tags which wasn't working too well (although it did get me the 0 level ones which I assume only worked because they are already bootstrapped to all characters)
 
Back
Top