Skip to content

@dice-roller/rpg-dice-roller / results / GroupMemberResult

Interface: GroupMemberResult ​

Defined in: src/results/types.ts:74

One expression of a roll group, with scoring separate from its nested expression result.

Extends ​

Properties ​

calculationValue ​

readonly calculationValue: number

Defined in: src/results/types.ts:25

The value used in totals (e.g. 1 / -1 / 0 for target successes / failures).

Inherited from ​

ScoredItem.calculationValue


flags ​

readonly flags: 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 ​

ScoredItem.flags


result ​

readonly result: ExpressionResult

Defined in: src/results/types.ts:77

The evaluated expression; scoring changes to the member need not change this result.


type ​

readonly type: "group-member"

Defined in: src/results/types.ts:75


useInTotal ​

readonly useInTotal: boolean

Defined in: src/results/types.ts:27

false when dropped (or otherwise excluded from the total).

Inherited from ​

ScoredItem.useInTotal


value ​

readonly value: number

Defined in: src/results/types.ts:23

The value after modifiers (e.g. after re-rolls, or max / min).

Inherited from ​

ScoredItem.value

MIT Licensed · Credits