Skip to content

@dice-roller/rpg-dice-roller / RollMode

Type Alias: RollMode ​

RollMode = "random" | "min" | "max"

Defined in: src/evaluator/RollContext.ts:10

How dice are rolled.

  • random: use the generator
  • min / max: every die rolls its minimum / maximum value (used for minTotal / maxTotal)

MIT Licensed · Credits