mwg API
    Preparing search index...

    Interface StatusEffectOptions

    interface StatusEffectOptions {
        duration: number;
        modifiers: readonly Omit<Modifier, "source">[];
        tick?: (turn: number) => void;
    }
    Index
    duration: number

    turns until the modifiers are removed

    modifiers: readonly Omit<Modifier, "source">[]

    applied for the duration, then removed automatically - source is filled in, not given

    tick?: (turn: number) => void

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