Dice Roll Expressions
Dice Roll Expressions
Drop Highest/Lowest
Keep Highest/Lowest
Count Successes/Failures
6d4{>=4 - <=1} - roll it and count results >= 4 as successes and <= 1 as failures. If you get
more successes than failures, it will only show the successes. If you roll more failures than
successes, it will only show the failures.
5d8{>=4 or <=2} - roll it and count results that are >= 4 or <= 2 as successes
6d12{>=3 and <=10} - roll it and count results that are both >= 3 and <= 10 (between 4 and 5)
as successes
5d6{>=4, <=2} - roll it and count separately results >= 4 and results <= 2
Exploding Dice
5d6e - roll it exploding 6s (exploding means if you get a 6 reroll it and add it to the pool of
results)
5d8eo - same as above, but each die can only be exploded once
5d6ep - penetrating exploding; roll it, but each exploding die has -1 each time it is exploded
(can be used with 'o' at the end for once)
5d6ec - compounding exploding; roll it, but each exploding die is summed to count as a single
big die (e.g, if you do 2d6ec and one of the die gets a 6, a 6 and a 5 that die will count as a 17)
(can be used with 'o' at the end for once)
Rerolling
5d6r - roll it rerolling 1s (rerolling replaces the old result with the new one)
5d6ro - same as above, but rerolling 1s can only be done once
5d6r(<=2) - roll it rerolling 1s and 2s
Combining Expressions
5d6{kh4}{/5} - roll it, keep highest 4 dice and then divide each one by 2
5d6{k>=4}{len} - roll it, keep dice >= 4 and then count how many dice are there (mostly the
same as 5d6{>= 4} really)
Arrays
Expressions such as 5d6 are ultimately expanded into arrays (e.g. [3, 3, 6, 1, 2])
Value Functions
Array Functions