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

    Post a chat message showing how much damage an actor would take (without applying it). Config: { type, amount, layer }

    Result fields:

    • original: Damage amount before resistance application
    • actual: Damage amount after resistance application
    • rollTotal: Total value of the roll that computed the damage amount (null if no formula)
    • cardValue: Sum of drawn card face values in the damage formula (null if no cards drawn)
    • cardName: Name of the drawn card when exactly one card drawn; null otherwise or for multi-card draws

    Type Declaration

    • allowedTargetScopes: string[]
    • configPartial: string
    • execute: (outcome: any, context: any) => Promise<void>
    • resultFields: { fields: string[]; subKeyField: string }