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

Reducing the HP-Attribute on multiple NPC-Sheets at once

1608402029

Edited 1608402077
I am currently running Tomb of Annihilation and i have a Weather-Macro that i click at the start of each day. I wonder if it is possible to use the same macro to reduce the max hp (or current hp) of 2 different NPC-Sheets, so that their max hp is reduced by 1, every time i click the macro. Does anybody know of an API that would make this possible?
1608402558
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Token mod can handle it if the token is on the board and the value controlled in a bubble. If you want to alter values on the sheet itself, ChatSetAttr is the script you'll want.
Thank you!! ChatSetAttr does exactly what i want :)