pokemon-rogue-battle
    Preparing search index...

    Attribute implementing the effects of Tera Shell When the source is at full HP, incoming attacks will have a maximum 0.5x type effectiveness multiplier.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    showAbility: boolean

    Methods

    • Applies ability effects without checking 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

      • _cancelled: null | BooleanHolder
      • _args: any[]

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

      Returns void

    • Reduces a type multiplier to 0.5 if the source is at full HP.

      Parameters

      • pokemon: default

        Pokemon the Pokemon with this ability

      • passive: boolean

        n/a

      • simulated: boolean

        n/a (this doesn't change game state)

      • attacker: default

        n/a

      • move: null | default

        Move the move being used on the source

      • cancelled: null | BooleanHolder

        n/a

      • args: any[]

        [0] a container for the move's current type effectiveness multiplier

      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