@dice-roller/rpg-dice-roller / results / ScoredItem
Interface: ScoredItem โ
Defined in: src/results/types.ts:24
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:28
The value used in totals (e.g. 1 / -1 / 0 for target successes / failures).
flags โ
readonlyflags: readonly ("max"|"min"|"explode-matching-batch"|"explode"|"drop"|"re-roll"|"unique"|"critical-success"|"critical-failure"|"compound"|"penetrate"|"explode-matching-batch-failure"|"re-roll-once"|"target-success"|"target-failure"|"unique-once")[]
Defined in: src/results/types.ts:32
Semantic markers for presenters; setting a flag alone does not change the total.
mapResult? โ
readonlyoptionalmapResult?:ExpressionResult
Defined in: src/results/types.ts:34
The evaluated expression used to map this item, including any nested rolls.
useInTotal โ
readonlyuseInTotal:boolean
Defined in: src/results/types.ts:30
false when dropped (or otherwise excluded from the total).
value โ
readonlyvalue:number
Defined in: src/results/types.ts:26
The value after modifiers (e.g. after re-rolls, or max / min).