Provides immunity to status effects to specified targets.

Hierarchy (view full)

Constructors

Properties

showAbility: boolean

Methods

  • Applies immunity to supplied status effects.

    Parameters

    • pokemon: default

      The Pokémon to which the status is being applied.

    • passive: boolean

      n/a

    • simulated: boolean
    • effect: StatusEffect

      The status effect being applied.

    • cancelled: BooleanHolder

      A holder for a boolean value indicating if the status application was cancelled.

    • args: any[]

      n/a

    Returns boolean

    A boolean indicating the result of the status application.