@dice-roller/rpg-dice-roller / results / DieResult
Interface: DieResult
Defined in: src/results/types.ts:53
A single die roll in a pool.
Extends
Properties
calculationValue
readonlycalculationValue:number
Defined in: src/results/types.ts:25
The value used in totals (e.g. 1 / -1 / 0 for target successes / failures).
Inherited from
flags
readonlyflags: readonly ("max"|"min"|"explode"|"drop"|"re-roll"|"unique"|"critical-success"|"critical-failure"|"compound"|"penetrate"|"re-roll-once"|"target-success"|"target-failure"|"unique-once")[]
Defined in: src/results/types.ts:29
Semantic markers for presenters; setting a flag alone does not change the total.
Inherited from
initialValue
readonlyinitialValue:number
Defined in: src/results/types.ts:56
The value originally rolled, before any modifiers.
type
readonlytype:"die"
Defined in: src/results/types.ts:54
useInTotal
readonlyuseInTotal:boolean
Defined in: src/results/types.ts:27
false when dropped (or otherwise excluded from the total).
Inherited from
value
readonlyvalue:number
Defined in: src/results/types.ts:23
The value after modifiers (e.g. after re-rolls, or max / min).