TCArknight
Well-known member
With help, I resolved the issue I had with the bootstrap of Class Abilities based on a Custom Ability. However, when I try to bootstrap the next class ability multiple times at different levels, I get the following error.
This is the relevant class info:
Any thoughts?

This is the relevant class info:
Code:
<thing id="cHelpMrk" name="Marksman" compset="Class" uniqueness="unique">
<fieldval field="cSpecSing" value="Combat Style"/>
<bootstrap thing="cPESkilFin">
<containerreq phase="First" priority="250">count:Custom.CStyleFin = 1</containerreq>
<autotag group="ClSpecWhen" tag="3"/>
</bootstrap>
<bootstrap thing="cPESkilFin">
<containerreq phase="First" priority="250">count:Custom.CStyleFin = 1</containerreq>
<autotag group="ClSpecWhen" tag="6"/>
</bootstrap>
<bootstrap thing="cPESkilFin">
<containerreq phase="First" priority="250">count:Custom.CStyleFin = 1</containerreq>
<autotag group="ClSpecWhen" tag="9"/>
</bootstrap>
<bootstrap thing="cPESkilFin">
<containerreq phase="First" priority="250">count:Custom.CStyleFin = 1</containerreq>
<autotag group="ClSpecWhen" tag="12"/>
</bootstrap>
<bootstrap thing="cPESkilFin">
<autotag group="ClSpecWhen" tag="15"/>
</bootstrap>
<bootstrap thing="cPESkilFin">
<autotag group="ClSpecWhen" tag="18"/>
</bootstrap>
<link linkage="spellattr" thing="aWIS"/>
<eval phase="First" index="3">perform hero.pushtags[Psionics.?]</eval>
<eval phase="PostAttr" priority="25000" index="2">Call PsiClass</eval>
<eval phase="First" priority="600"><![CDATA[foreach thing in BaseWep where "(wClass.Light & wProfReq.Martial) | (wProfReq.Martial & (wCategory.Thrown | wCategory.RangeProj) )"
perform eachthing.pulltags[WepProf.?]
nexteach
perform forward[WepProf.?]]]></eval>
</thing>
<thing id="cPEMrkFin" name="Combat Style (Finesse)" description="Finesse marksmen learn special techniques with\nranged attacks that otherwise would find too difficult\nto perform. A finesse marksman is capable of knocking\nthe weapon out of an opponent’s hand with the flick of\nthe wrist, or pinning a target to a door without drawing\nblood." compset="CustomSpec" uniqueness="unique">
<fieldval field="shortname" value="Combat Style"/>
<usesource source="pPsiEx"/>
<tag group="SpecSource" tag="cHelpMrk"/>
<tag group="Custom" tag="CStyleFin" name="Marksman Combat Style - Finesse" abbrev="Cbt Style - Finesse"/>
<eval phase="First">~ Tag hero for chosen combat style
perform forward[Custom.CStyleFin]</eval>
</thing>
<thing id="cPETechFin" name="Style Technique (Finesse)" description="Once a marksman has reached 2nd level, she may expend her psionic focus while making a ranged attack to use one of the following combat maneuvers as a ranged attack: bull rush, dirty trick, disarm, sunder, or trip. The marksman may use either her Strength or Dexterity modifier when determining her CMB for this attack. The ranged attack deals no damage and provokes attacks of opportunity as normal." compset="ClSpecial">
<usesource source="pPsiEx"/>
</thing>
<thing id="cPESkilFin" name="Style Skill (Finesse)" description="At 3rd level, a finesse marksman gains a +1 bonus to Intimidate. This bonus increases by 1 every three marksman levels thereafter." compset="ClSpecial">
<usesource source="pPsiEx"/>
<eval phase="First" priority="1000"><![CDATA[var myPts as number
myPts = field[xIndex].value
field[listname].text = "Style Skill (Finesse) (+" & myPts & ") "
~These calculations should only happen for the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)
field[abValue].value += field[xCount].value
field[livename].text = "Style Skill (Finesse)(+" & field[abValue].value & ") "]]></eval>
</thing>
Any thoughts?