Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old June 27th, 2010, 09:54 AM
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>
I get -
Quote:
Condition test for thing 'xOccAdven' (PreLevel/10000) is after its bootstraps (PreLevel/10000)
Any suggestions?
TCArknight is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 27th, 2010, 10:37 AM
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
Mathias is offline   #2 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:23 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.