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
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old August 18th, 2015, 12:39 PM
Can someone explain the difference in how Hero Lab treats Req. Classes vs. Req. Schools for secondary spells.
frumple is offline   #1 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old August 18th, 2015, 01:12 PM
SecSplMech.ReqClass means the class needs at least 1 SecClsAllw tag to generate it's candidate expression for the secondary spell table. Looks like this is most often used by Shaman Spirits. If I recall correctly, it used to be much more closely tied to domains, but then we switched from "Spell is tagged with something referring to which domains allow it" to the preferred method of "Each domain is tagged with what spells it allows for secondary spells". The former meant that users who wanted to make their own domains would have to either create redundant copies of spells to tag them appropriately, or have their new spells replace the older, while the latter lets people freely define new domains.

SecSplMech.ReqSchool means the class needs at least 1 SecSchAllw tag to generate it's candidate expression for the secondary spell table. It is still largely used for wizard specialized schools, because unlike with domains (which had 9 spells to associate with themselves), tagging each custom special with a huge (and ever growing) list of tags of the appropriate school is untenable.
Aaron is offline   #2 Reply With Quote
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old August 18th, 2015, 04:51 PM
Ok. Thanks.

This goes back to an earlier post. What I am trying to do is have a witch's patron spells be secondary spells (the class I am working on says explicitly that the patron spells do not add to the spellbook).

So it looks like SecSplMech.ReqClass is what I need. However since the spells from a witch's patron are boostrapped to the patron I figure I need to go through all the bootstrapped spells and assign the SecClsAllw tag with the appropriate spell id fairly early. Correct?
frumple is offline   #3 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old August 18th, 2015, 06:58 PM
Must have missed that post. Is the witch patron going to be present on the hero as a pick, or will you be looking at it as a thing?
Aaron is offline   #4 Reply With Quote
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old August 19th, 2015, 04:13 AM
Yeah, it will be on the hero as a pick.

Here is the link to my original post:
http://forums.wolflair.com/showthread.php?t=53604
frumple is offline   #5 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old August 19th, 2015, 09:11 AM
Something like this then?

PostLevel 10000
Code:
foreach pick in hero from BaseSpell
  ~ Is this bootstrapped by something?
  if (eachpick.isroot <> 0) then
    ~ Is that something a witch patron?
    if (eachpick.root.tagis[abCategory.WitPatron] <> 0) then
      perform eachpick.pulltags[ClsScAllSp.?]
      perform eachpick.assign[Hide.Spell]
      endif
    endif
  nexteach

~ Push the gathered tags to the class helper.
perform hero.childfound[cHelpWit].pushtags[ClsScAllSp.?]

Last edited by Aaron; August 19th, 2015 at 09:17 AM.
Aaron is offline   #6 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 12:20 PM.


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