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

Using ChatSetAttr to toggle universal damage modifier for rage not working. Please help! (5e ogl)

As the title states I'm having issues getting chatsetattr to toggle the global damage modifier box for rage and have the PC's attacks spit out the correct damage and im using the 5e OGL sheet.  Here is the macro I'm using: ?{Raging?|Yes, !setattr --sel --repeating_damagemod_$0_global_damage_active_flag|1 !token-mod --set bar3_value#-1 !token-mod --set statusmarkers#!fist|No!, !setattr --sel --repeating_damagemod_$0_global_damage_active_flag#0 !token-mod --set statusmarkers#!fist } /fx burst-blood As you can see it is a multipurpose macro. It's set to query whether the pc is raging, toggle the button, add a marker, subtract 1 from the character's class resources through its token, and give a juicy blood burst effect. IT ALL WORKS. The button gets checked but when the player rolls for damage no rage bonus is applied. If i go into his sheet and manually toggle the button it works fine. I have a Bless macro that is the mirror image of this but for global attack and global saves and it works like a charm. Am i doing something wrong here? Someone please help. 
1582298627
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
You are doing nothing wrong. There is a problem with the sheet code. This was reported over a year ago, and I have brought it up several times on the official sheet feedback thread [ 1 ][ 2 ] as well as the  Sheetworker bug thread . Other programmers have identified the issue and the solution, but it has not been fixed. I have come up with a workaround , but it's a kludge for something that should not be an issue.
1582299269
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
On the hopeful end, I have heard that the OGL sheet is being refactored. With any luck, this problem will finally be addressed.
1582348391

Edited 1582401880
Ty I'll try that later on. I trust itll work. Thank you.