@alpaca-software/40kdc-data
    Preparing search index...

    Interface ArmyCompositionPredicate

    A draw-time predicate over an army list (not runtime board state, so deliberately NOT the Ability DSL condition). Used to gate when_drawn operations such as redraws. Example: a card that is void unless the opponent fields a large unit (10e 'Cull the Horde' redrew when the opponent had no unit of 14+ models) is { subject: 'opponent', quantifier: 'none', unit_filter: { model_count_min: 14 } } with operation 'redraw'.

    This interface was referenced by 0KdcBundledSchemas's JSON-Schema via the definition "army-composition-predicate".

    interface ArmyCompositionPredicate {
        subject: "self" | "opponent";
        quantifier: "any" | "none";
        unit_filter: {
            model_count_min?: number;
            model_count_max?: number;
            wounds_min?: number;
            keywords?: KeywordList;
        };
    }
    Index

    Properties

    subject: "self" | "opponent"

    Whose army list the predicate inspects.

    quantifier: "any" | "none"

    Whether the army must contain ('any') or lack ('none') a unit matching unit_filter for the predicate to hold.

    unit_filter: {
        model_count_min?: number;
        model_count_max?: number;
        wounds_min?: number;
        keywords?: KeywordList;
    }

    Criteria a unit in the army must satisfy to match. All present criteria must hold (logical AND).