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

    Type Alias StackableBuff

    One toggleable buff lever for damage analysis: the contributions it adds and whether it's on by default. enabled is true for buffs that always apply (intrinsic keywords, unconditional abilities) and false for player decisions — stratagems (CP cost) and activatable gates (dice-pool options, choice branches, timing-gated activations). A consumer flips enabled, then crunches the enabled subset; an optimizer searches it.

    type StackableBuff = {
        id: string;
        label: string;
        buffs: Buff[];
        enabled: boolean;
        source: BuffSource;
        group?: string;
    }
    Index

    Properties

    id: string

    Stable toggle id (stable across re-enumeration of the same input).

    label: string

    Human label for the lever.

    buffs: Buff[]

    Contributions this lever adds when enabled (≥1).

    enabled: boolean

    Default selection state.

    source: BuffSource

    Where the lever came from.

    group?: string

    Id of the mutually-limited StackableBuffGroup this belongs to, if any.