PokéRogue
    Preparing search index...

    Interface StatStageChangeAttrOptions

    Set of optional parameters that may be applied to stat stage changing effects

    interface StatStageChangeAttrOptions {
        condition: MoveConditionFunc;
        effectChanceOverride?: number;
        firstHitOnly?: boolean;
        firstTargetOnly?: boolean;
        lastHitOnly?: boolean;
        message?: (user: Pokemon) => string;
        trigger?: MoveEffectTrigger;
    }

    Hierarchy (View Summary)

    Index

    The condition that needs to be met in order for the stat change to apply

    effectChanceOverride?: number

    Overrides the secondary effect chance for this attr if set.

    firstHitOnly?: boolean

    Should this effect only apply on the first hit?

    firstTargetOnly?: boolean

    Should this effect only apply on the first target hit?

    lastHitOnly?: boolean

    Should this effect only apply on the last hit?

    message?: (user: Pokemon) => string

    An optional callback used to produce the message displayed when the stat change is applied. If not provided, the default message is used.

    Intended to be used for static messages (hence why the applied changes are omitted).

    Defines when this effect should trigger in the move's effect order

    MoveEffectPhase