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

[5e OGL] How to reference Global Damage Modifiers from an ability?

We can trigger repeating attacks like this, for instance: %{selected|repeating_attack_$0_attack} Is there a way to do the same for a Global Damage Modifier? Specifically trying to make one button that triggers Main Hand Weapon, Off-Hand Weapon, and Sneak Attack Damage (just once).
1581922459
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The Global Damage Modifier is an attribute, or a field which contains a value. So far as I know, there is no character sheet Ability (macro) assigned to it. Although it's value can be changed programatically with a script such as ChatSetAttr, there is a long-standing bug that keeps an API change from being recognized by the sheet. Believe me, I've tried: Workaround for Global Damage Bonus not working with ChatSetAttr and Sheetworkers on Roll20 sheet
Thank you!