All Implemented Interfaces:
Ability, RarityTweak, ITranslatable

public class Oblivious extends PreventStatus
Prevents the Pokémon from being afflicted by infatuation or Taunt.
  • Constructor Details

    • Oblivious

      public Oblivious()
      Initializes Oblivious.
  • Method Details

    • allowsIncomingAttack

      public boolean allowsIncomingAttack(PixelmonWrapper pokemon, PixelmonWrapper user, Attack a)
      Description copied from interface: Ability
      Determines whether an incoming attack can hit the Pokémon
      Parameters:
      pokemon - The Pokémon with the Ability.
      user - The attack's user.
      a - The attack.
      Returns:
      Whether the attack can hit the Pokémon.