Skip to content

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

Interface: PoolResult ​

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

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

Properties ​

die ​

readonly die: DieSnapshot

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

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


dieArgs ​

readonly dieArgs: readonly ExpressionResult[]

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

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


node ​

readonly node: PoolNode

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


qty ​

readonly qty: ExpressionResult

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


rolls ​

readonly rolls: readonly DieResult[]

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


type ​

readonly type: "pool"

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


value ​

readonly value: number

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

The sum of calculationValue for the rolls that are useInTotal.

MIT Licensed · Credits