Skip to content

@dice-roller/rpg-dice-roller / RollLimits

Interface: RollLimits ​

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

Safety limits for a single roll.

Properties ​

maxGeneratedRolls ​

readonly maxGeneratedRolls: number

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

Additional rolls allowed per pool/evaluation across modifiers, including discarded rolls (default 1,000,000); initial dice are excluded and exhaustion truncates repeating results.


maxIterations ​

readonly maxIterations: number

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

The maximum number of generations for explode and re-roll, or retries for unique, per die.


maxQty ​

readonly maxQty: number

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

The maximum number of dice in a pool.

MIT Licensed · Credits