@dice-roller/rpg-dice-roller / results / ScoredItem
Interface: ScoredItem
Defined in: src/results/types.ts:21
A die roll or group member that modifier handlers can transform using the result helpers.
Extended by
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).
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.
useInTotal
readonlyuseInTotal:boolean
Defined in: src/results/types.ts:27
false when dropped (or otherwise excluded from the total).
value
readonlyvalue:number
Defined in: src/results/types.ts:23
The value after modifiers (e.g. after re-rolls, or max / min).