Here is a quick attempt to automate the damage against Standard Characters for Fantasy Craft, by Crafty Games. There are some assumptions in order to make this work. ASSUMPTIONS ---------------------- Whether the attack hits or not is not determined here Damage amount to apply is not taken care of here (i.e. Damage Reduction, Resistance, etc) Default colors for the bars/circles You don't use the Yellow status dot for anything else You don't use the three circles/bar for anything else on Standard Characters A character sheet or journal is not required for this functionality, nor are any attributes, abilities, or other macros SETUP ---------- Use the "Yellow" status dot to designate the token as a Standard Character. Use the Green circle (bar1) as the Damage Save modifier. Use the Blue circle (bar2) as the tough NPC Quality grade. ( leave blank for regular, set to "1" for tough I, "2" for tough II, etc. IN-PLAY ------------ Use the Red circle (bar3) to track accumulated damge. PSEUDOCODE ----------------------- Listen for changes to a token Check to see if the token is a Standard Character Get the current and previous Accumulated Damage values If the current damage is greater than previous, it took damage (ignore changes to other values, heals, etc) Determine the Damage Save DC based on current damage Roll save against DC using Damage Save Bonus If save is successful, do nothing (SuperGoblin!) If save is failed, either decrement the non-zero tough grade and reset damage, or make it dead. <a href="https://gist.github.com/lifer4700/7494622" rel="nofollow">https://gist.github.com/lifer4700/7494622</a>
Enjoy!