How SuccessTestResult.editModifiers collects the new modifiers.

interface ModifierEditOptions {
    rollMode?: string;
    situationalModifier?: number;
    skipDialog?: boolean;
    successLevelMod?: number;
    title?: string;
}

Properties

rollMode?: string

The new roll visibility (skipDialog only); defaults to the mode already on the result. A value that is not a sohl.utils.SohlSpeakerRollMode is ignored (#1099).

situationalModifier?: number

The new situational modifier (skipDialog only); defaults to the value already on the result.

skipDialog?: boolean

Take the new values from this bag instead of opening the dialog — for headless or scripted callers.

successLevelMod?: number

The new success-level modifier (skipDialog only); defaults to the value already on the result.

title?: string

Dialog heading override (localized text, not a key) — used to name the side being edited in a two-sided contest.