public class Snatch extends StatusBase
Steals an opponent's status move.
  • Constructor Details

    • Snatch

      public Snatch()
      Initializes Snatch.
  • 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.
    • stopsSelfStatusMove

      public boolean stopsSelfStatusMove(PixelmonWrapper user, PixelmonWrapper opponent, Attack attack)
      Description copied from class: StatusBase
      Determines whether the Pokémon's status stops an opponent's status move on itself.
      Overrides:
      stopsSelfStatusMove in class StatusBase
      Parameters:
      user - The statused Pokémon.
      opponent - The attack's user.
      attack - The attack.
      Returns:
      Whether the attack is stopped.
    • applyRepeatedEffect

      public void applyRepeatedEffect(PixelmonWrapper pw)
      Description copied from class: StatusBase
      Triggered at the end of every turn.
      Overrides:
      applyRepeatedEffect in class StatusBase
      Parameters:
      pw - The statused Pokémon.