• 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

Help with Custom Spell List

Dianae

Well-known member
So, I am beginning to tackle making my first Homebrew Variant Class for Pathfinder, and I have a question that I'm not sure has been answered before, and I may answer part of my own question.

What I want to do is use the Magus Spell List as a Base, and remove(preclude?) at least 2 schools of Magic (Divination & Enchantment) and add some Divine spells(mostly heals).

From what I can piece together, I might not need to recreate the Full spell List, I just create a new spell list with the Divine Spells that are being added, and also use the | separator to include the Magus List while some how precluding the "barred" schools?

Am I on the right track? I'd love it if this would work, so that if more Magus Spells get added they would get auto sorted.
 
You are on the right track, take a look at the Red Mantis Assassin to see how they do their spell list and you'll have a good start. Is this a prepared or spontaneous caster, because it's slightly different depending on which.
 
We were initially going with Prepared, but since there is the prescedent of the inquisitor for the non Charisma based spontaneous caster, we're probably going Spontaneous.

Sounds like putting the cart before the course if we're tackling it from both ends, but the in house dev team is still trying to hash out balanced rules for the 3 Archetypes, and that's causing a little bit of back and forth.

Luckily, (or not depending on your point of view) a good portion of what we can do with the class and it's archetypes depends on how well I learn how to use the Hero Lab editor, with each question they ask me sending me off on a quest to find information.
 
Then that should work much like the Red Mantis Assassin since that'spontaneous too. So check that field and modify it on the class helper. If it's an archetype you'll have to modify it using linkage[varies] on the archetype. Are there a lot of other spells that don't fit your selection or is it just a few?
 
I was going to remove all Illusion, Enchantment, and possibly Divination spells entirely, while using the "new" spell list to add in Conjuration(Healing) spells and maybe some other Restoratives.
 
So something like "(sClass.cHelpMag & !(sSchool.Divination | sSchool.Illusion | sSchool.Enchant)) | (sSchool.Conjur & sSubschool.Healing) & !Helper.Obsolete"

That'll get you all magus non-div/illu/ench spells, and all conjuration healing spells. if there is a specific other restorative spell that's not Conjuration (healing) you'll have to specify those individually.
 
I've tried looking everywhere in the editor to try and pull things up but I cannot for the life of me find where to compile a Spell List like this, I went back to the tutorials, but that just showed how to add a single spell to a list instead of altering an existing one.

I've been pulling my hair out trying to find a way to implement this and either I'm just being blind as a bat, or the code is just swimming in my head too much.

Looks like I may have to do this manually. /sigh.
 
You'd put it in an eval script on your class helper. Like so

Final 10000
Code:
          field[cSpellExpr].text = "(sClass.cHelpMag & !(sSchool.Divination | sSchool.Illusion | sSchool.Enchant)) | (sSchool.Conjur & sSubschool.Healing) & !Helper.Obsolete"
 
I tried that and got the error

Attempt to access field 'cSpellExpr' that does not exist for thing 'cDFRbyMg'

I think I'm missing something else, but at least It's not giving me syntax errors or just ignoring the rule.

I'm hedging on the missing something else since I'm kinda bouncing around on the code for the prototype.
 
It should be on the class helper, in the editor it's the Class->Class tab the item usually begins with cHelpXXX where XXX is the abbreviation for the class
 
Did that, had had it on the Class Level tab, not the Class tab.

Attempt to access field 'cSpellExpr' that does not exist for thing 'cDFRbyMg'
Location: 'eval' script for Thing 'cDFRbyMg' (Eval Script '#1') near line 1

I try to add it as a field as a work around and nada.

I know I must be missing something so basic, but I swear my brain just is not figuring it out.
 
Did that, had had it on the Class Level tab, not the Class tab.

Attempt to access field 'cSpellExpr' that does not exist for thing 'cDFRbyMg'
Location: 'eval' script for Thing 'cDFRbyMg' (Eval Script '#1') near line 1

I try to add it as a field as a work around and nada.

I know I must be missing something so basic, but I swear my brain just is not figuring it out.
It looks like you still have the script on the Class Level Thing not the Class Thing. So its telling you that the field cSpellExpr does not exist on the Class Level thing.
 
I know I put it on the class tab, can't remember right now if I removed it from the class level tab. Can't check right now, but hopefully that is the source of my headache, but now that you mention it, it makes 100% sense.

As I said, it's the little things.
 
I know I put it on the class tab, can't remember right now if I removed it from the class level tab. Can't check right now, but hopefully that is the source of my headache, but now that you mention it, it makes 100% sense.

As I said, it's the little things.
It gets easier. You just have to stick it out during the initial learning process. :)
 
Okay, got home and tested it, and you were right in where the error was, then I had a different problem.

Wrong spell list.

Removed all "uses spell list" options - No spells at all.

Entered in Spells Known per level and reset magic type to "Bard (Spontanteous)", (had tried spell book based, so didn't think spells known were needed.)
**** Critical flaw in my Thinking and properly forehead smacking "d'oh" moment****

And Viola! I have my spell list set up now.

*cheers*

As I said, Little things that escape logic bombs.

Lessons learned:

1. Never try and learn new coding complications when half awake.
2. Always look over the "Of course I did that." fields.

Next Hurdle:

Removing the Rejuvenate Eidolon Spell chain.
 
Last edited:
Phase 2: Failure

So, I try changing the eval script to add an exclusion of the specific spells, by
Code:
field[cSpellExpr].text = "(sClass.cHelpMag & !(sSchool.Divination | sSchool.Illusion | sSchool.Enchant)) | (sSchool.Conjur & sSubschool.Healing & (ClsDenySp.spLifeCon1 | ClsDenySp.spRejuEid1 | ClsDenySp.spLeResEi2 | ClsDenySp.spLifeCon3 | ClsDenySp.spRejuEid3 | ClsDenySp.spRestEid3 | ClsDenySp.spPuriCal4 | ClsDenySp.spGrLifCo5 | ClsDenySp.spRejuEid5)) & !Helper.Obsolete"
My thought was that ClsDenySP would be my ticket, but I get this error
Code:
Hero Lab was forced to stop compilation after the following errors were detected:

Syntax error in 'eval' script for Thing 'cHelpRBM' (Eval Script '#2') on line 1
  -> Non-existent field 'ClsDenySp' used by script

Back to the starting board....

I next try just putting the spells in as !(spSpell1 | spSpell2 | etc...) In various positions in the previous expression.

Code:
field[cSpellExpr].text = "!(spLifeCon1 | spRejuEid1 | spLeResEi2 | spLifeCon3 | spRejuEid3 | spRestEid3 | spPuriCal4 | spGrLifCo5 | spRejuEid5)) | (sClass.cHelpMag & !(sSchool.Divination | sSchool.Illusion | sSchool.Enchant)) | (sSchool.Conjur & sSubschool.Healing & !Helper.Obsolete"

It compiles, I go to check my spell list and I see every option under the sun, (custom scrolls and riffle scrolls?) as I close the Spell selection, I get this error

Code:
Syntax error in dynamic 'candidate' tag expression

Where am I going wrong, What am I missing, and what does Helper.Obsolete do?
 
You need to assign the ClsAllowSp.? and ClsDenySp.? to the class helper, not in the spell expression.

So either just click on where it says "tags" and add "ClsDenySp.spRejeEid3" etc or make an eval script, Pre-Levels 5000

Code:
perform assign[ClsDenySp.spRejeEid3]
 
Tried that to no effect, I think the first script to create the spell list might be overridding the Spell school selection.
 
Still either having no effect, or the "Syntax error in dynamic 'candidate' tag expression" with way too much on the spell list.

Since I had the problem before, I just want to be sure I putting the script on the Class thing, same as the other script? I found a rough work around by modifying the cSpellExpr to add just the Conjuration(Healing) spells from the Cleric List, since I also saw Paladin and Bard Specific Spells on the list, but that added in the level 7, 8, and 9 spells as well.
 
Back
Top