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

How to create a Macro to turn on and off abilities? For example Rage

Like the title says. I have no idea how to do it, but once I get one example I'm sure I can reverse engineer it to apply to other things. I would love for their to be a way to just push a button to turn these on and off, without needing to open the CS
1761093232
Gauss
Forum Champion
Hi Mike K.,  In the future please specify which sheet you are using. In this case I see based on the screenshot it is D&D 5e 2024 by Roll20.  That sheet does not currently play nice with most API Scripts. Until it does you will not be able to flip switches using a macro button. 
Ohhh I see sorry about that. And thanks for the quick reply! 
A work around for some things on 2024 is to create a 2nd attack entry or just edit the main. Editing the main would be like to not have to toggle on/off Agonizing Blast for Eldridge Blast. Just edit the Eldridge Blast entry, on the damage tab, change it to include Charisma too. If you want the rolled dice and Charisma damage to be displayed separately. Just hit Add New Damage and just set Ability to Charisma with out changing anything else. You could do the same for Sneak attack, just make another Weapon Entry and  Add New Damage and set it 2d6 damage, or whatever your dice are. You will have to edit it when you level up and the dice change but you can macro your second attack entry. You end up with a normal and sneak attack macro but its better then having to remember to toggle things on/off all the time. The first number is the damage dice rolled and the second is the Charisma mod.