Senior Member
Join Date: May 2007
Location: Durham, NC
Posts: 1,747
|
I sent it over, and with a walk through to re-create the issue. Thank you
|
#11 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Alright. I think I see the issue here. You're assigning the Target tag to the wrong place in this script:
Code:
<thing id="cFGMPAWzSp" name="Arcane Wizard Spells" compset="ClSpecial"> <usesource source="FGMP3MdFn"/> <tag group="ProductId" tag="FantGallry"/> <tag group="StartSpell" tag="cHelpWiz"/> <eval phase="First" priority="10000"><![CDATA[ call foctoclass doneif (state.isfocus = 0) ~ We cast wizard spells perform focus.assign[ClsCountAs.cHelpWiz] perform focus.assign[CSCountAs.Wizard] perform focus.assign[Classes.Wizard] perform focus.assign[StartSpell.cHelpWiz] perform focus.assign[sClass.cHelpWiz] perform focus.assign[CasterSrc.Arcane] perform focus.assign[CasterType.MemBook] perform focus.assign[Hero.Spellbook] perform focus.assign[StartBook.gFGMPArStS] perform focus.assign[HasBook.gFGMPArStS] perform focus.assign[Helper.StartBook] perform focus.assign[Target.csFGMPPrSp] ]]></eval> Instead change the following item from this: Code:
<thing id="gFGMPArStS" name="Arcane Starting Spellbook" description="A spellbook has 100 pages of parchment, and each spell takes up one page per spell level (one page each for 0-level spells). A newly purchased spellbook contains no spells. A wizard character begins play with a spellbook containing the spells he knows ({i}Core Rulebook{/i} 79)." compset="Spellbook" buytemplate="BuyQtyMon" xactspecial="2" stacking="never"> <fieldval field="gWeight" value="3"/> <fieldval field="gCost" value="15"/> <usesource source="FGMP3MdFn"/> <tag group="Helper" tag="StartBook" name="Starter Spellbook" abbrev="Starter Spellbook"/> <tag group="gType" tag="BlankSpBk" name="Spellbooks" abbrev="SpBook"/> <tag group="ProductId" tag="FantGallry"/> <tag group="Target" tag="cHelpWiz"/> <eval phase="First" priority="500" index="2">perform assign[Helper.StartBook] perform assign[StartSpell.cHelpWiz]</eval> Code:
<thing id="gFGMPArStS" name="Arcane Starting Spellbook" description="A spellbook has 100 pages of parchment, and each spell takes up one page per spell level (one page each for 0-level spells). A newly purchased spellbook contains no spells. A wizard character begins play with a spellbook containing the spells he knows ({i}Core Rulebook{/i} 79)." compset="Spellbook" buytemplate="BuyQtyMon" xactspecial="2" stacking="never"> <fieldval field="gWeight" value="3"/> <fieldval field="gCost" value="15"/> <usesource source="FGMP3MdFn"/> <tag group="Helper" tag="StartBook" name="Starter Spellbook" abbrev="Starter Spellbook"/> <tag group="gType" tag="BlankSpBk" name="Spellbooks" abbrev="SpBook"/> <tag group="ProductId" tag="FantGallry"/> <tag group="Target" tag="csFGMPPrSp"/> <eval phase="First" priority="500" index="2"><![CDATA[ ~There is a validation error which complains if our tag does not match at ~least one Classes tag on the hero. Normally our target tag automatically ~pulls a classes tag, but it can't because we're targetting a secondary ~class. Since this option isn't tied to any specific class, we'll just ~pull any/all classes tags from the hero context to ourselves. They won't ~do any harm in this context, so it should be fine perform hero.pulltags[Classes.?] ]]></eval> There, according to my tests that should work. |
#12 |
Senior Member
Join Date: May 2007
Location: Durham, NC
Posts: 1,747
|
You did it!!! Thank you so very much! It's working great! Thanks again for all your help and time!
|
#13 |
|
|