Senior Member
Join Date: Feb 2017
Posts: 119
|
So my GM keeps throwing wrenches in the mix. Now I discover (as I'm trying to build another player's character) that he allows any caster to be either memorized or spontaneous. So one of our party members has a Shaman that is a spontaneous caster. First time I've tried to build that in and I'm running into some issues.
Attempt 1: Have both classes available as selection. I field-for-field recreated the Shaman Class thing, changing caster type, spells known per level, spells cast per level. Then attempted to use it, and it successfully added the Shaman (Spontaneous) tab that looked the same as Shaman tab, but nothing worked. Trying to select a spirit, hex, or spells said "Nothing to select". Attempt 2: Go ahead and have the new class replace cHelpSha. This resulted in 2 problems... 1) the old Shaman tab also shows up in addition to the new Shaman (Spontaneous) tab. Selecting something on the Shaman tab (like spells) reflects the change on the new tab, so the tabs seem to be duplicating. The new tab is the one that turns red when selections are needed. Problem 2) nearly everything that is done results in an error: "Invalid tag expression specified for 'foreach' statement Location: 'pre-requisite rule' script for Component Set 'ClassLevel' near line 13" The box has 5 errors for line 13, 4 for line 15 and 1 for line 11... there may be more but that filled the screen. Ignoring the error things 'seem' to work, but the error is presented after each time done on the Shaman (either) tab. Is there an easier way to do this that won't have errors? |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
I'd build an archetype that changes the spellcasting type of the shaman class. There's a "Spellcaster Type" option on the archetype tab, and I think that simply filling that in will overwrite the class' normal version.
Then, you'll need to write a new spells known/level array, which the archetype can also handle. |
#2 |
Senior Member
Join Date: Feb 2017
Posts: 119
|
I just saw a thread that gave me the same idea. Didn't realize that there was so much configuration in the Archetype thing, figuring I'd have to build it all via a script... if so, that makes it so much easier. Thanks for the suggestion, I'll try that out and post back here if I'm successful.
Question mark is whether this would prevent the player from also choosing a valid archetype for Shaman and whether that could be worked around. |
#3 |
Senior Member
Join Date: Feb 2017
Posts: 119
|
This worked great and was super easy. Thanks again for the tip.
Now I just have one outstanding issue that is bothering me. The Human Shaman favored class bonus says: Quote:
Code:
~generate the expression saying what spells we're able to search for ~we're looking for spells that are cleric spells but not shman spells and are of a level we can cast field[usrCandid1].text = "component.BaseSpell & sClass.cHelpClr & !sClass.cHelpSha & (val:sLevel.? < " & hero.childfound[cHelpSha].field[cMaxSpLev].value & ")" |
|
#4 |
Senior Member
Join Date: Jul 2014
Posts: 412
|
I think the easiest way to do this is if your DM will allow Pathfinder Society compliant, if this person will do that then you could add a simple tag (Helper.NoPathSoc) to the line below, which I did.
field[usrCandid1].text = "component.BaseSpell & sClass.cHelpClr & Helper.NoPathSoc & !sClass.cHelpSha & (val:sLevel.? < " & hero.childfound[cHelpSha].field[cMaxSpLev].value & ")" If not then you either preclude each selectable item using a personal campaign user file or by only allowing spells which use a tag you extend to each spell you wish to allow via personal campaign file. Basically alot more work then you would like. Edit: That is the extent of my knowledge on the matter. |
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Now "could" be a few spells are not source marked at all which can happen but it would be very rare. Can you provide more details? Screen shots or post your .user file with steps to duplicate. I can try and take a look to figure out why.... Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#6 |
Senior Member
Join Date: Feb 2017
Posts: 119
|
Quote:
1) New Profile, New Hero 2) Select Human race 3) Give at least 12 WIS (I usually just go up to 16 to start) 4) Grant 1 level of Shaman 5) Select +1 Cleric spell known for favored class bonus 6) Under Customize Favored Bonus, select Bleeding Wounds 7) Switch to Shaman tab and select spells 8) level 0: Bleeding Wounds not available I think I just figured out why. I think all of the spells that aren't showing up are Words of Power. So I guess the filter needs a way of filtering out Words of Power if the caster doesn't have the ability/feat to cast Words of Power. |
|
#7 |
Senior Member
Join Date: Feb 2017
Posts: 119
|
Confirmed. Deselecting Words of Power under Ultimate Magic caused all the problem spells to disappear from the selection list. However, if one has Words of Power selected, but doesn't have a feat/ability that grants Words of Power, then those shouldn't show up in the selection.
|
#8 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
In addition I would recommend always adding in a "!Helper.Helper" to your custom expressions. Helper Picks usually should not show up outside there specific use. Probably not many spells setup with Helper.Helper but a good habit to get into. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#9 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Quote:
|
|
#10 |
|
|