pokemon-rogue-battle
    Preparing search index...

    Class InfiltratorAbAttr

    Attribute implementing the effects of Infiltrator. Allows the source's moves to bypass the effects of opposing Light Screen, Reflect, Aurora Veil, Safeguard, Mist, and Substitute.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    showAbility: boolean

    Methods

    • Sets a flag to bypass screens, Substitute, Safeguard, and Mist

      Parameters

      • pokemon: default

        n/a

      • passive: boolean

        n/a

      • simulated: boolean

        n/a

      • cancelled: null

        n/a

      • args: any[]

        [0] a BooleanHolder containing the flag

      Returns void

    • Returns a boolean describing whether the ability can be applied under current conditions

      Parameters

      • pokemon: default

        The pokemon to apply this ability to

      • passive: boolean

        Whether or not the ability is a passive

      • simulated: boolean

        Whether the call is simulated

      • args: any[]

        Extra args passed to the function. Handled by child classes.

      Returns boolean

      true if the ability can be applied, false otherwise

      apply