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

Any way to force a minimum roll on a d20?

a noob on roll20 sorry, trying to work out if it's possible to force a minimum roll on a check? I've got stealth +11 but a feat that changes any rolls under 10 to be 10.  So I need a roll of (if /roll d20 < 9 then roll = 10) + 11 Any way to do that?
Andrew C. said: a noob on roll20 sorry, trying to work out if it's possible to force a minimum roll on a check? I've got stealth +11 but a feat that changes any rolls under 10 to be 10.&nbsp; So I need a roll of (if /roll d20 &lt; 9 then roll = 10) + 11 Any way to do that? Hello Andrew. You might want to look into 'Keep Highest 1' / 'Keep Lowest 1' or 'Drop Highest 1' / 'Drop Lowest 1' There is a good post here describing it:&nbsp; <a href="https://app.roll20.net/forum/post/1517148/slug%7D" rel="nofollow">https://app.roll20.net/forum/post/1517148/slug%7D</a> The base premist is that you can pick the highest / lowest of two numbers by writing {{3,5}k1} Type the above into the chat and play around with it. Remember to wrap it in [[ ]] to make it calculate. Both sides has to be either a math expression or a roll, so if you want a roll it should look like: {{1d20, 0d0+10}kh1} + 11 This will take the highest of either 1d20, or 10, and then add 11. Good luck coding! :)
That is awesome, I did see the keep highest/lowest but couldn't think of how to use that, but the 0d0+10 is great idea. Thanks very much!!
1d20r9&nbsp; will make it reroll the d20 until higher than 9. it will skew the average results but it's there. You could also just roll 1d9+11
1588088263
GiGs
Pro
Sheet Author
API Scripter
Ryn said: 1d20r9&nbsp; will make it reroll the d20 until higher than 9. it will skew the average results but it's there. You could also just roll 1d9+11 Both of those provide different odds than what OP wants. They provide equal chance of getting a 10, 11, 12, etc. The OPs roll gives a massive increase of the chance of rolling 10, rolls of 1-9 are still kept, but they equal 10.
1588091273

Edited 1588091809
EDIT: Nevermind. I missed that Peter already answered this.