Reference · Rolls and exact odds
NotationOptionstype
How to read a notation.
Import it
import type { NotationOptions } from "@johnmorrisdotca/korokoro";
Definition
type NotationOptions = {
legacyReroll?: boolean;
maxDice?: number;
};
Members
| Name | Type | Description |
|---|---|---|
legacyReroll (optional) | boolean | undefined | Read |
maxDice (optional) | number | undefined | The most dice the roll may have, from 10 (the default) to |
Examples
import type { NotationOptions } from "@johnmorrisdotca/korokoro";
const value: NotationOptions = { legacyReroll: true, maxDice: 20 };
console.log(value.legacyReroll);trueWhat it prints (run when this page was built)