Body, Mind & Soul — API Reference
    Preparing search index...
    applySwingModifiers: {
        allowedTargetScopes: string[];
        configPartial: string;
        execute: (outcome: any, context: any) => Promise<void>;
    }

    Apply temporary local modifiers to the current swing, from the start of this outcome onwards through all subsequent triggers in the same swing. Unlike applyTriggerModifiers (which resets per-trigger), swing-scoped modifiers carry forward across multiple trigger fires within a single swing (e.g. a multi-hit ability where a crit card drawn mid-swing should affect the damage of all remaining hits).

    Config: (identical to applyTriggerModifiers) modifiers Array<{ id, field, operation, value, label }> — each row materialized as ModificationModel and appended to the swing pool.

    Restricted to swing consumers only (actions). If this outcome is somehow invoked outside a swing context (non-swing hook triggers, card draw triggers, etc.), it no-ops safely with a console warning, rather than throwing or creating a transient pool that gets discarded. This guards against accidental misconfiguration or authoring mistakes.

    Type Declaration

    • allowedTargetScopes: string[]
    • configPartial: string
    • execute: (outcome: any, context: any) => Promise<void>