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

Best healing/damage script or macro to use in 2020?

There have been so many threads on this, and many of them are quite old. I would greatly appreciate it if you could tell me what method works best for you to heal or damage PCs and NPCs, preferably in batches (not just single-target healing). Is there a way to heal that respects the max value in the HP field? What's your go-to script?
1585678285
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I use a combination. Group Check and its companion,  Apply Damage are awesome for fireballs and such. The Aaron's TempHP and Status is great for tracking temporary HP and constraining the HP between 0 and Max.
I use token mod. It is quick clean and easy to understand, it is my goto token management tool.
1585699931
The Aaron
Roll20 Production Team
API Scripter
The new --report feature makes TokenMod even better for healing things...
keithcurtis said: The Aaron's TempHP and Status is great for tracking temporary HP and constraining the HP between 0 and Max. The link on that wiki page gives a 404, and I do not see this script in the API Script Library. Anyone got another source for it?
1585701326
The Aaron
Roll20 Production Team
API Scripter
You can find that here:&nbsp; <a href="https://github.com/shdwjk/Roll20API/blob/master/TempHPAndStatus/TempHPAndStatus.js" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/TempHPAndStatus/TempHPAndStatus.js</a> However, I think this snippet I wrote more recently is actually much better.&nbsp; There are two versions, one that deals with negative numbers ala DnD 3.5/Pahtfinder, the other that is dead at 0 like DnD 5e: <a href="https://gist.github.com/shdwjk/4fdc7ca5fc106d91aa11bddef4ecf63c" rel="nofollow">https://gist.github.com/shdwjk/4fdc7ca5fc106d91aa11bddef4ecf63c</a>
Thanks, Aaron!
1585705507
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
What makes the snippet better?
1585745029
The Aaron
Roll20 Production Team
API Scripter
It's the six million dollar man version. I rebuilt it—better, faster, stronger. =D (mainly because I forgot the other one existed...)
Thank you all! This is very helpful. I will try to figure out how to use Tokenmod for healing.&nbsp;
1585749702
The Aaron
Roll20 Production Team
API Scripter
Something like: !token-mod --set bar1_value|[[{@{selected|bar1|max},[[@{selected|bar1}+2d4+4]]}kl1]] --report all|"{name} heals {bar1_value:change}hp"
Thanks, Aaron! I'm an idiot at this stuff, so the explicit instruction is appreciated. Does your snippet account for the max HP of a given token?
1585750446
The Aaron
Roll20 Production Team
API Scripter
Yup!&nbsp; This part: [[{@{selected|bar1|max},[[@{selected|bar1}+2d4+4]]}kl1]] breaks down as " for (the max of bar1) or (current bar1 + 2d4+4), take the lower number"&nbsp; In the case that max is 19 and current is 17, then the right side might be 24, and 19 is lower, so that is the result of the roll.&nbsp; The value is then assigned to bar1.&nbsp;
Many, many thanks!
1585753930
The Aaron
Roll20 Production Team
API Scripter
No worries. =D