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

[5E-OGL] Universal roll formula

1485939643
Jakob
Sheet Author
API Scripter
Some time ago, I asked for a formula to use for the 5E OGL sheet that could be used for both PCs, nonproficient NPCs, and proficient NPCs (for saves and skill checks). This was in order to put it into GroupCheck as the default. At the time, Silvyre came up with the following: [[d20 + @{CHARNAME|persuasion_bonus} * {1@{CHARNAME|npc_persuasion}0, 0}=10 + 0@{CHARNAME|npc_persuasion}]] Unfortunately, it seems that a recent update to the way Roll20 parses rolls makes this formula spit out an error message (Cannot mix sum and success rolls in a single roll expression). Is there another trick to make this work?
Nesting the 'success roll' (i.e. {1@{CHARNAME|npc_persuasion}0, 0}=10) within an additional pair of inline roll brackets will fix this.
1485941466
Jakob
Sheet Author
API Scripter
Once again, you come to the rescue. Thanks!
Cheers!