Takes no damage from the first hit of a damaging move. This is used in the Disguise and Ice Face abilities.

Hierarchy (view full)

Constructors

Properties

condition: PokemonDefendCondition
showAbility: boolean

Methods

  • Applies the pre-defense ability to the Pokémon. Removes the appropriate BattlerTagType when hit by an attack and is in its defense form.

    Parameters

    • pokemon: default

      The Pokémon with the ability.

    • _passive: boolean

      n/a

    • simulated: boolean
    • attacker: default

      The attacking Pokémon.

    • move: default

      The move being used.

    • _cancelled: BooleanHolder

      n/a

    • args: any[]

      Additional arguments.

    Returns boolean

    true if the immunity was applied.