Skip to content

@dice-roller/rpg-dice-roller / ast / unique

Function: unique() โ€‹

unique(options?): UniqueNode

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

Re-roll duplicate dice. once is the uo alias; numeric limit: 1 has the same budget but retains u1 notation. Limits count additional rolls per die and cannot exceed the context cap.

Parameters โ€‹

options? โ€‹

comparePoint? โ€‹

ComparePoint

limit? โ€‹

number

once? โ€‹

boolean

Returns โ€‹

UniqueNode

MIT Licensed ยท Credits