Hello,
I implemented an improved version of Random>>#roll: (attached)
It has two more operators, > and <, that can be used to discard
respectively a number of lowest or highest throw results. This is used
to skew the random distribution to the left or to the right.
The idea is illustrated here:
https://www.gmdice.com/blogs/dnd/dice-probability-explainedSo for example,
Random roll: '3d6>2'
will roll three d6 and discard two of them, keeping only the best result.
Similarly:
Random roll: '3d6<1'
rolls three d6 and discards the lowest result.
For consistency, the algorithm takes offsets into account:
Random roll: '3d6>2+10'
adds 10 to the two best throws, while
Random roll: '3d6+10>2'
will keep 10 and the best throw among the three d6.
What do you think? Should I submit the code to the inbox?
Stef