Skip to content

Type Alias: RollOptions ​

ts
type RollOptions = object;

Defined in: src/dice.ts:968

What roll and rollMany may be told beside the dice and the source.

Properties ​

at? ​

ts
optional at?: number;

Defined in: src/dice.ts:970

When the roll is made, in epoch milliseconds. Now, unless given.


maxDice? ​

ts
optional maxDice?: number;

Defined in: src/dice.ts:972

The most dice the roll may have, from 10 (the default) to MAX_DICE_BY_CODE. Past ten, every kind has to be plain dice.

MIT © John Morris