@vttforge/core / DicePoolSpec
Interface: DicePoolSpec
Properties
drop?
readonlyoptionaldrop?: {highest:number; } | {lowest:number; }
Drop the highest or lowest n (at most number), as dh / dl.
explode?
readonlyoptionalexplode?:number|boolean
Roll again on the highest face (true) or at this result or above (a number), as x.
faces
readonlyfaces:number
Faces per die.
failAt?
readonlyoptionalfailAt?:number
Count a die as a failure at this result or below, as df<=n: each one takes 1 off the total.
keep?
readonlyoptionalkeep?: {highest:number; } | {lowest:number; }
Keep only the highest or lowest n (at most number), as kh / kl.
max?
readonlyoptionalmax?:number
min?
readonlyoptionalmin?:number
Floor and ceiling for each die, as min / max.
number
readonlynumber:number
How many dice.
rerollAt?
readonlyoptionalrerollAt?:number
Reroll once at this result or below, as r<=n.
successAt?
readonlyoptionalsuccessAt?:number
Count a die as a success at this result or above, as cs>=n. The total becomes the count.