Jump to navigation Jump to search
Generates random numbers to emulate dice rolls. Returns the total of a dice roll where each die that rolled lower than the
minimumparameter is counted as that value instead.
rollWithLower(times, sides, minimum)
times- The number of times to roll the dice.
sides- The number of sides the dice possess.
minimum- The minimum value that each individual die will contribute to the total.
Roll five twenty-sided dice. Any rolls below 7 are treated as 7.
Returns a number that is between 35 and 100 (and no longer down to 5 as with a regular
[t: rollWithLower(5, 20, 7)]
The corresponding dice roll expression is
XdYlZ. For other methods of rolling dice, see Dice Expressions.