• 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

Adding Wizard Specialized spells in archetype

Pezmerga

Well-known member
Adding more specialized spells in wizard archetype

How would I add more secondary spells (for specialized spells) in an archetype I made?

In the wizard class it normally uses this code to set the secondary spells.

Code:
      ~Post Levels     20,000
      ~ If we have a specialized school, set our 'secondary spells required'
      ~ field to 1, because we need 1 spell of each level.
      if (hero.tagis[SecSchAllw.?] <> 0) then
        field[cSecSplReq].value = 1
        endif

I tried putting that in the eval script in the archetype i made, and i changed the 1 to a 3, but it doesn't work. I tried doing it later in the timing, and tried adding with += to the value as well.. It is being set in the class Eval script in the wizard class, but I was wanting to change that in the archetype.
 
Last edited:
Man this is really a stumper!
Tried this but nothing...

Code:
~Postlevels   20000
perform hero.findchild[BaseClSpec,"SpecSource.cHelpWiz & 
thingid.cSecSplReq & Value.1"].tagreplace[Value.1,Value.3]
 
Ok I finally got it!
In case someone is wondering...

Code:
Postlevels, 20000
    ~ If we have a specialized school, set our 'secondary spells required'
      ~ field to 3, because we need 3 spells of each level.
      if (hero.tagis[SecSchAllw.?] <> 0) then
        linkage[varies].field[cSecSplReq].value = 3
      endif
 
Hmm...How would I eliminate Universalist and the elemental schools from possible choices with my "Focused Specialist" archetype...back to work! :)

(Wow...I'm talking to myself on a forum...I should probably go to bed...)
 
Last edited:
Back
Top