Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
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 Last edited by Pezmerga; December 16th, 2010 at 08:22 PM. |
#1 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Really hope this is possible! I want to add a Focused Specialist Archetype!
|
#2 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
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] |
#3 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
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 |
#4 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
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. |
#5 |
|
|