Class HealingWish


public class HealingWish extends StatusBase
Heals the next Pokémon coming in to full hp and cures its statuses.
  • Constructor Details

    • HealingWish

      public HealingWish()
      Initializes Healing Wish.
  • 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.
    • applySwitchOutEffect

      public void applySwitchOutEffect(PixelmonWrapper outgoing, PixelmonWrapper incoming)
      If the switching out Pokémon was switched in with full health, it will have the Healing Wish status and need to have that removed.
      Overrides:
      applySwitchOutEffect in class StatusBase
      Parameters:
      outgoing - The statused Pokémon.
      incoming - The incoming Pokémon.