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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Defining custom crit success and failure

Right now, the dice engine considers a roll of 1 to be a crit failure and a roll of the maximum value to be a crit success. Those dice are marked in red or green, respectively (or in blue for inline rolls containing both). This is fine for the majority of situations, but there are a few cases where this is not enough, for example weapons with a larger crit range in D&D or Pathfinder. I would suggest something similar to the success and failure modifiers, with the primary difference that the dice would report their values instead of the number of successes. For example, using 'csCP' as an example syntax, "1d20cs>18 + @{Whatever mods}" could be the roll for a Rapier (critting on an 18-20); it would report the full value for the roll including all other values, but be highlighted in green for a base roll of 18, 19 or 20. Essentially, "d6cs6cf1" would be equivalent to "d6" (Substitute various dice size for the 6s) while allowing the possibility of larger or non-existent crit success and failure ranges.
1403397382
Pat S.
Forum Champion
Sheet Author
I think that can be done with the mentor feature "API" but not positive.
1403413649
Lithl
Pro
Sheet Author
API Scripter
Yes, the API is capable of this
1403434512
Gold
Forum Champion
I've heard you can make a rollable table, where you could make the dice results look however you wanted. Not sure if that would apply for your wishes, but might be useful in some cases.
Brian said: Yes, the API is capable of this That's nice, but as you can see, I don't have access to the API. What I'm asking is pretty useful to have, but it's not worth the 10$ a month by itself. Gold said: I've heard you can make a rollable table, where you could make the dice results look however you wanted. Not sure if that would apply for your wishes, but might be useful in some cases. That's a workaround, but it has a number of issues: You need a separate table for each die size and crit range, the GM has to create these tables (Admittedly, this could easily be done with the API, but again, not worth the cost by itself), and the crits (while more visible) are not highlighted. This last point is especially important when it comes to inline rolls (Which I use almost exclusively in macros for space and aesthetic reasons) where the table's value (and crit status) would only be visible when hovering the roll.
1403473306
Lithl
Pro
Sheet Author
API Scripter
Alexandre B. said: Brian said: Yes, the API is capable of this That's nice, but as you can see, I don't have access to the API. What I'm asking is pretty useful to have, but it's not worth the 10$ a month by itself. I fully understand. I was responding to Pat, who was uncertain if it was possible with the API.
1403480603
Pat S.
Forum Champion
Sheet Author
Thanks for responding Brian about the API. I thought it could but I haven't been a mentor in about 6 months and wasn't sure if that was worked on.
Example of API just the basis of the script. Fully customize-able.
+1