So, I'm gonna come right out and say that I have read through the API info, but nothing is retaining. I feel like I'm reading another language here. Here's my desire. In my system, players use Energy Points to use their talents or cast spells. For ease of my players, I was hoping to create an API so that when they would use a particular talent, they could just click a button and it would automatically spend the necessary EP and edit their tokens current EP automatically. Here is the current setup I have for spells that could be used. <h2>Spells</h2> <fieldset class="repeating_spells"> Spell Title <input type="text" name="attr_Spell" /> Total EP Cost <input type="number" name="attr_EP_Cost" value="@{EffectEP}+@{CTEP}+@{DurationEP}+@{RangeEP}+@{AoEEP}+@{SpecEP}" disabled="true"/> <br> Effect <input type="text" name="attr_Effect" /> EP <input type="number" name="attr_EffectEP" value="0" /> <br> Casting Time <select name="attr_CT" class="CT"> <option value = "0">Single</option> <option value = "3">Swift</option> <option value = "10">Free</option> </select> EP <input type="number" name="attr_CTEP" value="@{CT}" disabled="true" /> Duration <input type="text" name="attr_Duration" /> EP <input type="number" name="attr_DurationEP" value="0" /> <br> Range <input type="number" name="attr_SpRange" />ft &nbsp;&nbsp;&nbsp;&nbsp; EP <input type="number" name="attr_RangeEP" value="floor(@{SpRange}/25)" disabled="true"/> Area of Effect <input type="text" name="attr_AoE" /> EP <input type="number" name="attr_AoEEP" value="0" /> <br> Special <select name="attr_Spec" class="Spec"> <option value = "0"></option> <option value = "1">Bouncing</option> <option value = "2">Contingency</option> <option value = "3">Draining</option> <option value = "4">Empower</option> <option value = "5">Maximize</option> <option value = "6">Persistent</option> <option value = "7">Selective</option> <option value = "8">Sneaky</option> <option value = "9">Trap</option> <option value = "10">Vampiric</option> </select> EP <input type="number" name="attr_SpecEP" value="0"/> <br><br> </fieldset> The field that I would want to use would be @{EP_cost}, but I'm also having trouble with pulling attributes from fieldsets like this so that's another problem. Currently EP is not an attribute on the character sheets as I'm having to rewrite the code for it in order to make it properly autocalculate, but it would be something along the lines of @{MaxEP}, but then I honestly don't know how to make it access the current EP, rather than the max EP. Again, I read some of the info on the API page and I believe the was a SetCharAttr function that I would need to use, but that's about as far as I got. Any help is appreciated for my currently helpless self.