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

Random Number

Prompt macro generate numbers in the range. For example on a random number in the range of 10-20. Thank you
1485695609

Edited 1485695659
[Deleted]
Sheet Author
I would just handle this as [[10+1d10]] since your range is only 10 numbers anyways. You could even set it up as: [[?{Base number?|0}+(?{Number of dice?|0}d?{Range of dice?|0})]] which gives you a simple, "calculate this" macro.
You would need [[1d11 + 9]] to get a range of 10-20.
1485697339

Edited 1485697417
This is a good option However, in Example 10 + 1d10, band 10 will not fall because 1d10 can not fall to 0. The minimum value will be 11, 10 at the desired >You would need [[1d11 + 9]] to get a range of 10-20. Not aesthetically pleasing ... But if there is no more options I will do so
What's not pleasing about it? It's an inline roll...
1485703075

Edited 1485703106
I would have suggested the same as SkyCaptain, but you could alternatively have ranges of numbers rerolled . e.g. /r 1d20r<9 or [[ 1d20r<9 ]]
Also [[ [[1d11+9]] ]]  (two sets of brackets) to hide the 'math'.
all thx
1485763677
Andrew C
Marketplace Creator
Well of course assuming you want a linear distribution from 10-20, not linear ones get a bit more interesting. 2d6+8 will also work and give you an average result at 15.
1485928603
The Aaron
Pro
API Scripter
Also, you can setup rollable tables that give the numbers without adding 9.