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

    Interface ArmyCompositionPredicate1

    Draw-time army-composition predicate gating the operation (e.g. redraw when the opponent lacks a qualifying unit).

    interface ArmyCompositionPredicate1 {
        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).