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;
        showMessage?: boolean;
        trigger?: MoveEffectTrigger;
    }

    Hierarchy (View Summary)

    Index

    Properties

    condition?: MoveConditionFunc

    If defined, 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?

    showMessage?: boolean

    true to display a message

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

    MoveEffectPhase