@dice-roller/rpg-dice-roller / results / GroupMemberResult
Interface: GroupMemberResult โ
Defined in: src/results/types.ts:91
One expression of a roll group, with scoring separate from its nested expression result.
Extends โ
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).
Inherited from โ
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.
Inherited from โ
mapResult? โ
readonlyoptionalmapResult?:ExpressionResult
Defined in: src/results/types.ts:34
The evaluated expression used to map this item, including any nested rolls.
Inherited from โ
result โ
readonlyresult:ExpressionResult
Defined in: src/results/types.ts:94
The evaluated expression; scoring changes to the member need not change this result.
type โ
readonlytype:"group-member"
Defined in: src/results/types.ts:92
useInTotal โ
readonlyuseInTotal:boolean
Defined in: src/results/types.ts:30
false when dropped (or otherwise excluded from the total).
Inherited from โ
value โ
readonlyvalue:number
Defined in: src/results/types.ts:26
The value after modifiers (e.g. after re-rolls, or max / min).