Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old December 16th, 2010, 03:53 PM
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 by Pezmerga; December 16th, 2010 at 08:22 PM.
Pezmerga is offline   #1 Reply With Quote
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old December 16th, 2010, 08:29 PM
Really hope this is possible! I want to add a Focused Specialist Archetype!
Pezmerga is offline   #2 Reply With Quote
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old December 16th, 2010, 09:43 PM
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]
Pezmerga is offline   #3 Reply With Quote
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old December 16th, 2010, 09:57 PM
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
Pezmerga is offline   #4 Reply With Quote
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old December 16th, 2010, 10:08 PM
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 by Pezmerga; December 16th, 2010 at 10:12 PM.
Pezmerga is offline   #5 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:07 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.