d20
constd20: (count?) =>number
Defined in: src/dice.ts:187
A 20-sided die, or count of them summed.
The one a critical hit is measured against.
Parameters
Section titled “Parameters”count?
Section titled “count?”number
Returns
Section titled “Returns”number
Example
Section titled “Example”d20(); // 17d20(2); // the sum of two