• 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

Problem with ClsAllowSpell

scibat

Well-known member
I am working on another archetype. This time it's a druid archetype that subs out Summon Nature's Ally for Summon Monster. I was originally intending to use ClsAllowSpell to add the spells to the spell list, but I can't seem to make that function.

From my searches, it seems that ClsAllowSpell is very limited? So overloading it with 9 spells may not work.

Would a viable option be making copies of every Summon Monster spell and adding the archetype to them? Or is there another more elegant way I am missing?
 
Please be more specific about the details of "can't seem to make that function". What code are you using? What phase & priority? Do you get any error messages? If so, please right-click the error messages and copy them here. If you don't get any error messages, what does or does not happen?
 
Here's the snippet. I've used ClsAllowSpell in other means before and it worked, which is why I was particularly baffled when this didn't:

Code:
Post-levels/5000
     perform hero.assign[ClsAllowSp.spSummMon1]
     perform hero.assign[ClsAllowSp.spSummMon2]
     perform hero.assign[ClsAllowSp.spSummMon3]
     perform hero.assign[ClsAllowSp.spSummMon4]
     perform hero.assign[ClsAllowSp.spSummMon5]
     perform hero.assign[ClsAllowSp.spSummMon6]
     perform hero.assign[ClsAllowSp.spSummMon7]
     perform hero.assign[ClsAllowSp.spSummMon8]
     perform hero.assign[ClsAllowSp.spSummMon9]

It doesn't return any errors, it simply doesn't add the spells to the character's spell book.
 
The tags should be assigned to a particular class, not the hero.

From an archetype:

Code:
perform linkage[varies].assign[ClsAllowSp.spSummMon1]
 
Back
Top