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

Pathfinder 1e community sheet: Spell roll suppresses save if spell's "Save" field contains the substring "harmless"?

Cure Light Wounds from the Compendium shows up with "Will half ( harmless ); see text" in the Save field. This seems to mean I get no save and hence no DC that I might need when targeting undead. And I can see that the "Options" field under "Macro Text" contains  {{saving_throw=}} . But if I change it to "Will half ( unharmful ); see text" then I get save with DC. And "Options" contains {{saving_throw=@{save}}} . What's the logic that decides whether or not a spell roll generates a save? Maybe it's this code from shouldNotDisplayOption in PFUtils.js:         case 'save':         case 'saving_throw':             return ((/^no/i.test(val) || /harmless/i.test(val)) && !(/and|or/i.test(val)));
1782513608
vÍnce
Pro
Sheet Author
Hi David, What's the logic that decides whether or not a spell roll generates a save? Maybe it's this code from shouldNotDisplayOption in PFUtils.js Yes. If the save or saving_throw attribute is missing a value(blank) or begins with "no" or includes "harmless" and does not include "and", "or"... then the value is set to empty (probably, w/out investigating further) to prevent the roll template from displaying anything.