Global

Methods

rollDice(diceSize) → {number}

Generate a random number between 1 and diceSize, inclusive.
Parameters:
Name Type Default Description
diceSize number 20 The maximum that the dice can roll.
Source:
Returns:
The number rolled on the dice.
Type
number