I'm in the testing stages of the Eberron subraces, but have either found a bug or done something wrong.
Code is below, but here's the gist: these free spells are supposed to be used once per and reset on a Short Rest. I can mark them used (changing 0/1 -> 1/1). However, they don't reset to 0/1 when I click the Short Rest button. The Long Rest does reset them. What am I doing wrong here? I have similar specials that use the exact same coding, but with "LongRest", and they work perfectly on Long Rests in HL. It's just the Short Rest ones that don't.
Code is below, but here's the gist: these free spells are supposed to be used once per and reset on a Short Rest. I can mark them used (changing 0/1 -> 1/1). However, they don't reset to 0/1 when I click the Short Rest button. The Long Rest does reset them. What am I doing wrong here? I have similar specials that use the exact same coding, but with "LongRest", and they work perfectly on Long Rests in HL. It's just the Short Rest ones that don't.
Code:
<thing id="ra5CEbPriCon" name="Primal Connection" description="You can cast the {i}animal friendship{/i} and {i}speak with animals{/i} spells with this trait once each before completing a short or long rest. Wisdom is your spellcasting ability for these spells, and you do not need material components." compset="RaceSpec">
<tag group="Helper" tag="ShowSpec" name="Show Spec" abbrev="Show Spec"/>
<tag group="FeatureTyp" tag="Special" name="Special" abbrev="Special"/>
<bootstrap thing="sp5CAnimFr">
<containerreq phase="First" priority="2500">count:AbReplace.ra5CEbPriCon = 0</containerreq>
<autotag group="Usage" tag="ShortRest"/>
<autotag group="Helper" tag="RaceSpell"/>
<assignval field="trkMax" value="1"/>
</bootstrap>
<bootstrap thing="spSpeaAnim">
<containerreq phase="First" priority="2500">count:AbReplace.ra5CEbPriCon = 0</containerreq>
<autotag group="Usage" tag="ShortRest"/>
<autotag group="Helper" tag="RaceSpell"/>
<assignval field="trkMax" value="1"/>
</bootstrap>
</thing>
Last edited: