Skip to content

@dice-roller/rpg-dice-roller / results / PoolResult

Interface: PoolResult โ€‹

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

A pool's evaluated quantity, die arguments, die snapshot and modified rolls.

Properties โ€‹

die โ€‹

readonly die: DieSnapshot

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

The values of the die the factory created, for presenters.


dieArgs โ€‹

readonly dieArgs: readonly ExpressionResult[]

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

The evaluated node.die.args, e.g. the 6 in d6 or the (2+3) in d(2+3).


modifierArguments? โ€‹

readonly optional modifierArguments?: readonly ModifierArgumentResult[]

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

Evaluated Keep/Drop expressions, in modifier execution order; omitted for numeric modifiers.


node โ€‹

readonly node: PoolNode

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


qty โ€‹

readonly qty: ExpressionResult

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


rolls โ€‹

readonly rolls: readonly DieResult[]

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


type โ€‹

readonly type: "pool"

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


value โ€‹

readonly value: number

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

The sum of calculationValue for the rolls that are useInTotal.

MIT Licensed ยท Credits