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

Turning the results of a 2–7 on a d20 to a result of an 8

1739126879
Stephen C.
Pro
Sheet Author
Is there a way to use a macro to change a result of a d20 so that it essentially has faces of 1, 8, 8, 8, 8, 8, 8, 8, 9, 10, 11, 12, 13, etc? I've figured out how to do this with a rollable table, but I'm wondering if there's some solution which doesn't require the GM to set up. Preferably, one which preserves the critical failure highlight of a 1 and the critical success highlight of the 20, with no other numbers highlighted.
It's a bit of a mess of a tooltip but this will work in place of your normal d20 { { {d20=20cf0} }*20 + { {1d19>9cs0cf0} }*{d11cs0cf0+8} + { {1d8>2cs0cf0} }*8 + d1cs0}k2 It works by checking in turn if you've rolled 20, 9-19, 2-8, or 1 and returning the appropriate value with highlight as required. There is an open suggestion for Custom dice syntax that would make this trivial, so consider voting for it.
1739134637
Stephen C.
Pro
Sheet Author
Thanks so much! It looks complex, but I think I understand it. (Not that I necessarily need to understand it to use it.) I've already added my upvote to that topic some time ago.