interface DiceTermResult {
    result: number;
    active: boolean;
    count: number;
    success: boolean;
    failure: boolean;
    discarded: boolean;
    rerolled: boolean;
    exploded: boolean;
}

Properties

result: number

The numeric result

active: boolean

Is this result active, contributing to the total?

count: number

A value that the result counts as, otherwise the result is not used directly as

success: boolean

Does this result denote a success?

failure: boolean

Does this result denote a failure?

discarded: boolean

Was this result discarded?

rerolled: boolean

Was this result rerolled?

exploded: boolean

Was this result exploded?