Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
|
#11 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
I am certain there has to be another way to do this. The Wizard starts with all cantrips but still has the "Spells must be added to the spellbook" message in the wizard tab. But when I added them with the code that used:
Code:
~ Add all 0-level mage spells to spellbook foreach pick in hero from BaseSpell where "sLevel.0 | sClass.cHelpMge" perform eachpick.assign[Spellbook.cHelpMge] nexteach |
#12 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The "Spells must be added to the spellbook" message makes sure that a spellbook caster has at least 1 first-level spell in their spellbook before they try to memorize spells (otherwise, we get bug report after bug report saying that Wizards/Witches/Alchemists can't memorize any spells but their 0-level spells).
|
#13 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Quote:
I can't figure out what allows this for the wizard type casters (Looking through a copy of the class etc.) Is this something implemented that is beyond the scope of the editor perhaps? |
|
#14 |
Member
Join Date: Jul 2010
Posts: 75
|
I believe I heard Mathias or rob mention once that all 0-level spells are added as picks to all heros by default, and then made live by adding the 'Spellbook.<class helper>' tag to each pick (in the case of spellbook-based arcane classes). Not sure if this holds true for new 0-level spells created in the editor, but it sounds like perhaps not, if you've encountered the difficulties you're describing. I haven't run into any thing in the editor that would seem to contain the mechanism for this, though, so perhaps one of the LW devs can shed light on it.
|
#15 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Well if i use this code
Code:
~ Add all 0-level mage spells to spellbook foreach pick in hero from BaseSpell where "sLevel.0 & sClass.cHelpWiz" perform eachpick.assign[Spellbook.cHelpMge] nexteach So I pretty much decided that pathfinder converted d20 Modern Mages have to manually add their 0 level spells lol. Not a huge deal I suppose, just a minor nuisance. |
#16 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Perhaps look for the Wizard spellbook spells - Spellbook.cHelpWiz, instead of all wizard spells - sClass.cHelpWiz?
|
#17 |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Quote:
Code:
Final Phase 10000 ~ Add all 0-level mage spells to spellbook ~(Not adding custom modern cantrips (Haywire, Magic ID, etc.) foreach pick in hero from BaseSpell where "sLevel.0 & Spellbook.cHelpWiz" perform eachpick.assign[Spellbook.cHelpMge] nexteach |
|
#18 |
|
|