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

Is it possible to increment or decriment an Attribute from a macro

I am working with a custom system. I have an ability that when the player uses it it needs to increment one of their attributes. Something along the lines of Draw Steel's heroic resource. When they perform an ability, they they increment their resource. I can have the player manually increment it, but they often forget.
1725646790
GiGs
Pro
Sheet Author
API Scripter
You can do this if you make extensive use of Custom Roll Parsing, or use a script. This is the sort of thing that used to be impossible before Custom Roll Parsing.
1725649141

Edited 1725652075
Gauss
Forum Champion
Hi TysonNW,  You cannot make changes to an Attribute using a Macro without some 'extra help' from a Mod (API Script).  If your game owner has a Pro account then a script like ChatSetAttr can do the job.  Alternately, a Character Sheet can be built to do that without needing a Mod. That is what GiGs was referencing with the Custom Roll Parsing. 
1725651016

Edited 1725651025
GiGs
Pro
Sheet Author
API Scripter
Gauss said: Alternately, a Character Sheet can be built to do that without needing a Mod. That is what GiGs was referencing with the Custom Roll Parsing.  Oh yes, good point. I didn't realise we weren't in the character sheet subforum.