Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Applying Damage in a simple manner

I just upgraded mostly for the benefit of having automatic concentration (Trying to figure out if I can change the icon to a cute one a player made) and also for a calendar once I figure out how to change all the variables and what not for my homebrew one. I went and got Group Check and Apply Damage which works in the context of apply damage to a group after a saving throw, however I've not been able to find a simple API or Macro that I can just click and button, hit a number, and it will minus that much HP from the token or token's I've got selected. I assume I with Group Check and Apply Damage already set up I should have the API required but does anyone know what Macro I would need to use for this? This way I could just hit a button and type a number to deal damage easily.
1595857757

Edited 1595857791
Hello. You can use the TokenMod for that purpose given that, if you want the char sheet to also reflect the damage done, you need to have the bar linked to the corresponding attribute. !token-mod --set bar<1/2/3>_value|-?{Damage|0} This would effectively reduce the selected token's bar1/2/3's value by Damage's amount (queried).
This is the damage macro I currently use. !token-mod --set bar1_value|[[ {(@{selected|bar1}-[[?{Damage|0}]]),0}kh1 ]] --report all|"/em {name} takes ?{Damage|0} damage."