@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 โ
readonlydie:DieSnapshot
Defined in: src/results/types.ts:77
The values of the die the factory created, for presenters.
dieArgs โ
readonlydieArgs: readonlyExpressionResult[]
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? โ
readonlyoptionalmodifierArguments?: readonlyModifierArgumentResult[]
Defined in: src/results/types.ts:80
Evaluated Keep/Drop expressions, in modifier execution order; omitted for numeric modifiers.
node โ
readonlynode:PoolNode
Defined in: src/results/types.ts:70
qty โ
readonlyqty:ExpressionResult
Defined in: src/results/types.ts:73
rolls โ
readonlyrolls: readonlyDieResult[]
Defined in: src/results/types.ts:78
type โ
readonlytype:"pool"
Defined in: src/results/types.ts:69
value โ
readonlyvalue:number
Defined in: src/results/types.ts:72
The sum of calculationValue for the rolls that are useInTotal.