Class ZPowerHeal


public class ZPowerHeal extends StatusBase
Heals the next Pokémon coming in to full hp.
  • Constructor Details

    • ZPowerHeal

      public ZPowerHeal()
      Initializes HealOnSwitch effect.
  • Method Details

    • applyEffect

      public void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
      Description copied from class: EffectBase
      Causes various effects during the move.
      Overrides:
      applyEffect in class StatusBase
      Parameters:
      user - The move's user.
      target - The move's target.
    • isTeamStatus

      public boolean isTeamStatus()
      Description copied from class: StatusBase
      Determines whether the status applies to the Pokémon's position in the battle.
      Overrides:
      isTeamStatus in class StatusBase
      Returns:
      Whether the status applies to the Pokémon's position in the battle.
    • isWholeTeamStatus

      public boolean isWholeTeamStatus()
      Description copied from class: StatusBase
      Determines whether the status applies to the Pokémon's side of the battle.
      Overrides:
      isWholeTeamStatus in class StatusBase
      Returns:
      Whether the status applies to the Pokémon's side of the battle.
    • applyEffectOnSwitch

      public void applyEffectOnSwitch(PixelmonWrapper pw)
      Description copied from class: StatusBase
      Triggers when the statused Pokémon switches in.
      Overrides:
      applyEffectOnSwitch in class StatusBase
      Parameters:
      pw - The statused Pokémon.
    • applyRepeatedEffect

      public void applyRepeatedEffect(PixelmonWrapper holder)
      If the PartingShot failed and no switch occurred, remove the status at the end of the turn.
      Overrides:
      applyRepeatedEffect in class StatusBase
      Parameters:
      holder - The statused Pokémon.