Hello friends! I'm trying to automate most of the functions of my game table of A Song of Ice and Fire RPG. A major difficulty being the automation of combat. Already installed the TokenMod API, but didn't get what I want yet. I would be very grateful if you can help me! I made a macro where the scroll is already subtracted from the target's defense, confirming the success or fail. In case of a hit, the result is 0 or more. In case of error, the result is negative. Would I like an API that count this result and apply the damage automatically on target, if the result is positive. There is something like this running around here? My Macro: &{template:default} {{name=@{selected|token_name}: Conflict Test}} {{➥ Key-Ability:=Marksmanship}} {{➥ Speciality:=Bows}} {{ ➤ Attack Type:= ?{Attack Type?|Basic|Targeted|Coverage} }} {{ ❂ Action Type:=?{Action |Major|Minor|Free} }} {{Target:=@{target|token_name} }} {{Target Armor Value:= @{target|armorRating} }} {{Roll vs Combat Defense:=[[(0+?{± Test Dice|0|1|2|3|-1|-2|-3}+?{± Bonus Dice|0|1|2|3|4|5}+@{wounds}+@{marksmanship})d6d?{± Bonus Dice|0|1|2|3|4|5}sd+@{injuries}+?{± Modifier|0|1|2|3|-1|-2|-3} - @{target|combatDefense} from Combat Defense of @{target|token_name}]] ➤ Base Damage: [[@{Agility}+?{± Damage Modifier|0|1|2|3|-1|-2|-3}]] }} {{Effect:=?{Sucess Effect?|Depends of Sucess Grade} }} {{Munition:= [[@{Munition}-1 ]] }} !ammo @{character_id} Munition -1 PS: Sorry for basic english. :T