interface D20RollConstructorOptions {
    bonus?: string | number;
    check?: boolean;
    critical?: number;
    dc?: number;
    flavor?: string;
    misfire?: number;
    staticRoll?: number;
}

Hierarchy (View Summary)

Properties

bonus?: string | number

An additional bonus to be added to the roll.

  • Include the bonus in the formula instead.
check?: boolean

Is this actually a check.

true

critical?: number

The number on the d20 that is considered a critical success.

20

dc?: number

Record DC for this roll.

flavor?: string

The flavor of the roll

misfire?: number

The number and below on the d20 that is considered a misfire.

undefined

staticRoll?: number

A number used as a static roll result of the d20. If null, the d20 is rolled normally and the result is used.

undefined