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

Overcome SR popup coding

I need to be able to add a value to my "Overcome SR" roll in any spell macro I click. I wrote a macro to prompt me when I cast a spell: ?{Dweomer Nethys ginger Piercing:|0} I put this in the " Spells Notes " field just under the "Concentration Check" button on the "Spells" tab so that it creates a popup when I click any spell. This much works as expected. I copy-pasted that same macro into the " Spell Pen Bonus " field in the "Roll Adjustments" box to the right above it, but the value I enter in that popoup never appears in the "Overcome SR" roll in any spell macro I click. If I add a macro like this in multiple places in an attack macro, it creates one popup, replacing the value I enter at all instances of the macro.  Here, it prompts me, but never adds the value to the "Overcome SR" roll in the spell macro . Leaving the macro in the   " Spell Pen Bonus " field and removing it from the  " Spells Notes " field means when I click a spell macro, it does not generate a popup anymore. Does anyone know a way I can make the sheet prompt me for a value that will be added to the  "Overcome SR" roll in any spell macro I click?
1751296452
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Which sheet is this for?
Scott C. said: Which sheet is this for? The Pathfinder 1e Community Sheet