Options for rollTimedTest.

interface TimedTestOptions {
    critFailureDigits?: number[];
    critSuccessDigits?: number[];
    forcedDie?: number;
    noChat?: boolean;
    situationalModifier?: number;
    title?: string;
    type?: string;
}

Properties

critFailureDigits?: number[]

Roll last-digits promoting a failure to a critical (default [0, 5]).

critSuccessDigits?: number[]

Roll last-digits promoting a success to a critical (default [0, 5]).

forcedDie?: number

Resolve against this die value instead of casting one. The test still runs in full — it is handed a pre-seeded d100 rather than short-circuited — so the result, its description, and any card derive normally. Used where the outcome is fixed by rule and there is nothing to test: an untreated wound has no Healing Rate to roll against, so it resolves against UNTREATED.roll (#1148).

noChat?: boolean

Suppress the result chat card (e.g. when catching up many checkpoints).

situationalModifier?: number

A flat situational modifier to the effective mastery level (e.g. a fatigue penalty).

title?: string

Display title for the test.

type?: string

Test-type id for labeling/chat.