mwg API
    Preparing search index...

    Interface ItemStatusEffectOptions<T>

    interface ItemStatusEffectOptions<T> {
        duration: number;
        fields: Partial<T>;
        tick?: (turn: number) => void;
    }

    Type Parameters

    • T
    Index
    duration: number

    turns until the fields are restored

    fields: Partial<T>

    fields applied to the item for the duration, restored to their prior value on expiry

    tick?: (turn: number) => void

    called once per turn the effect is active, such as a poison coating's own tick