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

One Click Bless Activation Button

I want to use a single button that I assign to each player, that when another player casts Bless (D&D 5th edition) on them then I can press the button and that player now has 1d4 automatically added to attacks and saving throws. I believe there should be a way to do it by activating or deactivating pre set up global attack modifiers and global saving throw modifiers, but i can't seem to figure out how. Does anyone have any ideas how? I use the 5th OGL Character sheet in its latest version.
1531781691
Pantoufle
Pro
Sheet Author
Translator
Hello, pretty sure you can do this with chatsetattr script :)
Anyone have a pre written macro for this?
Pantoufle said: Hello, pretty sure you can do this with chatsetattr script :) I know Chatsetattr can do a lot of things, and probably would work. However I am struggling to figure out how to call out the Bless bonus specifically. I know I can turn on and off the visuals for the global modifiers but whether they are visible or not it doesn't turn on or off the actual bonus.
If we could get the global_attack_mod_flag turned off also deactivate any attack modifiers currently set then we should be great. I can get the the global_attack_mod_flag to turn off using Chatsettattr with the following: !setattr --sel --global_attack_mod_flag|0 But while the flag is turned off the attack modifier (bless in this case) still rolls
1531949831

Edited 1531949913
You can't do it dynamically, but you can access each individual modifier in the same way that you would access and attack, item, spell, or other repeating section in the character sheet. !setattr --sel --repeating_savemod_$0_global_save_active_flag|0 !setattr --sel --repeating_tohitmod_$0_global_attack_active_flag|0 This will uncheck the first global saving throw modifier as well as the first global attack modifier for the selected character.
awesome this is exactly what i was looking for thanks