ShadowChemosh
Well-known member
So I noticed the new behavior of the Arcanist "Arcane Reservoir" where instead of resetting to 0 we can reset to another value. I thought cool I think I can use that for a Spell Adjustment.
I mimicked the logic from Arcane Reservoir which seems to be basically just setting the new trkReset field at Post-Levels/10000. So I did that on a new Tracker (not a Class Special) and it does not seem to work.
I would have assumed this new logic was attached to the component "Tracker" but maybe i assumed wrong?
So this spell adjustment is set to set the max value on the tracker:
Here is the tracker code that sets the reset value to be the same as the max value at Post-Levels/10000:
The issue being that when I tell HL to "reset" the tracker it goes back to zero not the value calculated on the adjustment. I have done total restarts of HL. I removed the bootstrap condition logic. I even tried setting the reset value to be less than the max. I am I missing something in the use of this field or does it only work on Class Specials?????
I mimicked the logic from Arcane Reservoir which seems to be basically just setting the new trkReset field at Post-Levels/10000. So I did that on a new Tracker (not a Class Special) and it does not seem to work.
I would have assumed this new logic was attached to the component "Tracker" but maybe i assumed wrong?
So this spell adjustment is set to set the max value on the tracker:
Code:
<thing id="pS2ProtEne" name="Protection from Energy" description="Protection from energy grants temporary immunity to the type of energy you specify when you cast it (acid, cold, electricity, fire, or sonic). When the spell absorbs 12 points per caster level of energy damage (to a maximum of 120 points at 10th level), it is discharged.\n\nProtection from energy overlaps (and does not stack with) resist energy. If a character is warded by protection from energy and resist energy, the protection spell absorbs damage until its power is exhausted." compset="InPlay">
<fieldval field="pDuration" value="1 hour/level (D)"/>
<fieldval field="abValue" value="20"/>
<fieldval field="abValue2" value="10"/>
<fieldval field="pMinimum" value="0"/>
<usesource source="s20PFCamp"/>
<tag group="Helper" tag="AdjSpell"/>
<tag group="Adjustment" tag="EnerResist"/>
<tag group="ProductId" tag="Shadowd20"/>
<tag group="Helper" tag="AdjNoPlus"/>
<bootstrap thing="trkS2ProtE">
<containerreq phase="First" priority="500"><![CDATA[fieldval:pIsOn <> 0]]></containerreq>
</bootstrap>
<eval phase="PreLevel" priority="10000"><![CDATA[
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)
~if nothing's been chosen, get out now
doneif (field[pChosen].ischosen = 0)
~ Set livename
field[livename].text = field[name].text & " (" & field[pChosen].chosen.field[shortname].text & ")"
~ Set the tracker counter as CL x 12
#trkmax[trkS2ProtE] += field[pAdjust].value * 12
]]></eval>
</thing>
Here is the tracker code that sets the reset value to be the same as the max value at Post-Levels/10000:
Code:
<thing id="trkS2ProtE" name="Protection from Energy" description="." compset="Tracker" uniqueness="useronce">
<usesource source="UltCombat"/>
<tag group="User" tag="Tracker" name="Modern Action Points" abbrev="Modern Action Points"/>
<tag group="ProductId" tag="Shadowd20"/>
<tag group="SpInfo" tag="spProtfro3"/>
<eval phase="PostLevel" priority="10000"><![CDATA[
~ Make the reset value be the "max" value
field[trkReset].value += field[trkMax].value
]]></eval>
</thing>
The issue being that when I tell HL to "reset" the tracker it goes back to zero not the value calculated on the adjustment. I have done total restarts of HL. I removed the bootstrap condition logic. I even tried setting the reset value to be less than the max. I am I missing something in the use of this field or does it only work on Class Specials?????
