PokéRogue
    Preparing search index...

    Interface GetAttackTypeEffectivenessParams

    Type for the parameters of Pokemon.getAttackTypeEffectiveness.

    interface GetAttackTypeEffectivenessParams {
        ignoreStrongWinds?: boolean;
        move?: Move;
        simulated?: boolean;
        source?: Pokemon;
        useIllusion?: boolean;
    }
    Index

    Properties

    ignoreStrongWinds?: boolean

    If true, ignores the effect of strong winds (used by anticipation, forewarn, stealth rocks)

    false

    move?: Move

    The Move whose type effectiveness is being checked. Used for applying MoveTypeChartOverrideAttr.

    simulated?: boolean

    If true, will prevent changes to game state during calculations.

    false

    source?: Pokemon

    The Pokemon using the move, used to check the user's Scrappy and Mind's Eye abilities and the effects of Foresight/Odor Sleuth.

    useIllusion?: boolean

    Whether to consider this Pokemon's illusion when determining types.

    false