Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
An issue I'm running into:
I've got the Occupation feat bootstrapping the Adventurer special if the User.OccAdvent tag is present on the hero. This works fine until I add a bootstrap to the Adventurer special to provide a choice of bonus feats. With this code - Code:
<thing id="fOccupatn" name="Occupation" compset="Feat" uniqueness="unique"> <fieldval field="ftCandExpr" value="User.Occupat"/> <usesource source="srcD20Mod"/> <tag group="fCategory" tag="catOcc" name="Occupation"/> <tag group="User" tag="OccAdven" name="Occupation - Adventurer"/> <bootstrap thing="xOccAdven"> <containerreq phase="PreLevel" priority="10000"><![CDATA[User.OccAdven >= 1]]> <after name="Add Occupation"/> </containerreq> </bootstrap> <eval phase="PreLevel" priority="5000" name="Add Occupation"><![CDATA[ doneif (compare(field[fChosen].chosen.field[name].text,"") = 0) ~get the chosen occupation and store it in a variable var Choice1 as string var C1Len as number var C1thing as string var result as number Choice1 = field[fChosen].chosen.field[name].text C1thing = field[fChosen].chosen.idstring C1Len = length(C1thing) - 1 C1thing = "User." & right(C1thing,C1Len) perform hero.assignstr[C1thing]]]></eval> </thing> <thing id="xOccAdven" name="Adventurer" compset="Special"> <usesource source="srcD20Mod"/> <tag group="User" tag="Occupat" name="Occupation"/> <tag group="Helper" tag="ShowSpec"/> <bootstrap thing="fAdvBonus"></bootstrap> </thing> Quote:
|
|
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Bootstraps need to be established before the timing mechanisms begin, since they'll have their own timings.
In this thread on the Pathfinder forum, I walked someone through the next best solution - adding bonus feats, and making sure those slots were filled with the correct type of feat: http://forums.wolflair.com/showthread.php?t=10475 |
#2 |
Thread Tools | |
Display Modes | |
|
|