Skip to content

@dice-roller/rpg-dice-roller / ast / reRoll

Function: reRoll() โ€‹

reRoll(options?): ReRollNode

Defined in: src/ast/builders.ts:403

Re-roll matching dice. once is the ro alias; numeric limit: 1 has the same budget but retains r1 notation. Limits count generations per die and cannot exceed the context cap; amount is the positive safe-integer number of replacement dice generated per match and defaults to 1.

Parameters โ€‹

options? โ€‹

amount? โ€‹

number

comparePoint? โ€‹

ComparePoint

limit? โ€‹

number

once? โ€‹

boolean

Returns โ€‹

ReRollNode

MIT Licensed ยท Credits