• 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 All School Spells from X Class List

The Wyrm Ouroboros

Active member
I'm looking to add to a spell list all Divination Spells from the Cleric list. So far, I have managed this:

doneif (state.isfocus = 0)

perform focus.assign[sClass.cHelpClr]

Is there a way to narrow this down to just Divination-school spells?
 
I'm looking to add to a spell list all Divination Spells from the Cleric list. So far, I have managed this:

Is there a way to narrow this down to just Divination-school spells?

Try the following:

Code:
hero.childfound[cHelpXXX].field[cCstSpExpr].text &= "| (sSchool.Divination & sClass.cHelpClr)"

Timing in final phase I think. XXX = class abbreviation (ie Drd for Druid). This is off the top of my head, so if it doesn't work let me know.
 
Unfortunately, that isn't working at any timing point. What is 'cSpellExpr' that it's calling / modifying?

I made an adjustment with that exact script and timing and it worked. I'll need to see what exactly you're doing to see why it's not working on your end. (Note: You do need to change cHelpDrd to whatever class you're trying to modify).

The cSpellExpr field defines the list of spells a class has access to.
 
Back
Top