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.

Minimum/Maximum Result on a Die Roll

Is it possible to get a dice function wherein you can set a minimum or maximum possible value for a die roll? Example: The Primitive Weapon Quality in Dark Heresy 2nd Edition, a weapon rolls a d10 for damage, but treats any result greater than a certain number as that number, and vice versa for the minimum?
[[ {1d10, 0d1+3}kh1 ]] would give a minimum of three, but I don't know if there's a way to combine both keep highest and keep lowest to get a min and max at the same time.
Hmmm, thanks Honey Badger, that could do as a workaround. I don't really need both at once, just the ability to use one or the other. This method should also work for a maximum value, should it not?
Yes.
I asked the same question before for Proven and got the same workaround, so I'll note that this gets awkward for multiple dice. If you'll be dealing with the dice frequently, set up a Rollable Table with the entries as numbers - this can be rolled like a die, and you can set arbitrary weights to the numbers. For example, a "Primitive7" table could have entries for 1-6 each with weight 1 and an entry for 7 with weight 4, giving the equivalent of a 10-sided die with four faces reading '7', which you could then roll as 2t[Primitive7] in game.
1444340926
The Aaron
Pro
API Scripter
I've actually automated the creation of such tables (well, the minimum ones) in a script: &nbsp; <a href="https://app.roll20.net/forum/post/950142/script-we" rel="nofollow">https://app.roll20.net/forum/post/950142/script-we</a>... If there's interest, I can adjust it to work either direction. &nbsp;(requires the API, a Pro subscriber perk)
This would be really nice for 5E D&D as well. The Elemental Adept feat (for example) allows you to treat all 1s as 2s when casting a spell of that element. The Rogue feature reliable talent allows you to treat all 9s and below as 10s on a skill check where you have proficiency. Essentially we need something to the affect of "treat [result range x] as [result y]".
1550175436
Roll20 Dev Team
Pro
Marketplace Creator
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .