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 .
×

5th Edition OGL v. 2.5 Changing Settings through macros

I'm about to host a Dragon Lance game, and here the moons of magic will regularly change the bonus/penalty the wizards gets on the attacks and DCs, but while there is generic "global skill/save/damage/attack/ac modifier" there are no generic modifier for spell DC and magic attack, here I have to enter settings every single time and manually change the value on both fields accordingly. That is going to be really tedious when that happens roughly every 4 in-game days it has to be changed in one way or the other. Is there a way I can setup some macros for my wizards to change these values ? fx: %{spell_save_dc_mod=1&global_magic_attack_modifier=1} or something similar Thank you
Macros can only read  attributes. The API, however, can change  attributes. ChatSetAttr would be perfect for this use-case, however the API is only usable in games whose creator has an active Pro subscription.
1536795687
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
It would require a custom macro instead of a built in sheet macro, but you could create a character called Moons and give it three custom attributes called Solunari, Lunitari and Nuitari. A Red Wizard could put +@{Moons|Lunitari} into their spellcasting macros, and other wizard types do similar. You would only need to change the three attributes on the Moons character sheet to affect all wizards of a given alignment. That's the basic idea, anyway. The final formulas I cannot write, not being familiar enough with the game mechanics required, nor with the OGL sheet. This is merely a suggestion on how to centralize the modifiers.