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 .
×
May your rolls be chill this holiday season!
Create a free account

Crit Rolls Range

Hey all, I'm trying to figure out how to write my macro so that the roll doesn't just outline the number (rolled) in a green box if it rolls the highest number, i.e. if I roll a 20-sided die and it lands on 20 it is outlined in green. How do I set up a range? What I mean to say here is that I'm looking to make it so that when I roll a 19 or 20 the box is outlined in green. I'm working on an "Improved Critical" roll for a game I'm in. Please let me know if you can help. Thanks. - Knighthood
1379739127
Gauss
Forum Champion
At this time there is no range for highlighting. It has been suggested though.  - Gauss
Thank you for the quick response. I guess I'll just have to keep an eye on it. Too bad they don't have "if" statements in the macro code scripting
1379739877

Edited 1379739942
Gauss
Forum Champion
"if" statements have also been suggested. - Gauss
1379744478

Edited 1379744560
Lithl
Pro
Sheet Author
API Scripter
Using the API, the /direct command is available for sending HTML directly to chat. This could be used to change the outline color of an inline roll. I have output the HTML corresponding to inline dice rolls in my Raise Count script; it would not be too hard to create a script that outputs green outlines for a wider range of rolls (improved crit, etc.) Using the API requires that the campaign owner is a Mentor, however.
Well, I know it's not a suggestion, but +1 to the idea of having the "crit" be a range. I wouldn't have any use for it but I suspect others would love it :)
+1
1380381485

Edited 1380381498
I use the formula / r 1d20r19r20r1 for critical and failure, reroll if give these values, but if it goes again will have one more roll. Does anyone know how can I limit in just a reroll?
1380394421
Gauss
Forum Champion
At this time there is not a way to limit rerolls to 1 reroll. Sorry. - Gauss
when I use in-line rolls for attacks with increased threat range, I put the crit range next to the attack roll. e.g. sword: [[d20+10]] (29+ crits), [[d8+10]] dmg that way if the number rolls within the crit change, you can tell without having to check