Skip to content

@dice-roller/rpg-dice-roller / ast / ReRollNode

Interface: ReRollNode โ€‹

Defined in: src/ast/nodes.ts:313

r, ro and numeric re-roll limits.

Properties โ€‹

amount? โ€‹

readonly optional amount?: number

Defined in: src/ast/nodes.ts:321

Number of replacement dice generated for each matching roll; omitted amounts use 1.


comparePoint? โ€‹

readonly optional comparePoint?: ComparePoint

Defined in: src/ast/nodes.ts:317


limit? โ€‹

readonly optional limit?: number

Defined in: src/ast/nodes.ts:319

Maximum additional re-rolls per die; omitted limits use the context cap.


name โ€‹

readonly name: "re-roll"

Defined in: src/ast/nodes.ts:315


once โ€‹

readonly once: boolean

Defined in: src/ast/nodes.ts:316


type โ€‹

readonly type: "modifier"

Defined in: src/ast/nodes.ts:314

MIT Licensed ยท Credits