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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Hey folks! Was wondering if it's possible to limit the result of a roll, so for example, roll d20, and the result can't be higher than 6 Is there a way to achieve that without scripts? If not, has anyone wrote such a script? Thanks in advance
Yes, there's the drop highest operator: /roll {1d20,6+0d0}dh the dh operator requires all values to be of the same type. If one is a die roll, the other must also be a die roll. The +0d0 tricks roll20 into treating the 6 as a dice roll, so the expression works.
Thank you for the reply! I tried the command, unfortunately it doesn't seem to work, I've tried swapping parameters around, and tested the dh command with just {1d20}dh - It didn't work