java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.AromaVeil
All Implemented Interfaces:
Ability, RarityTweak, ITranslatable

public class AromaVeil extends AbstractAbility
Prevents the Pokémon and its teammates from being afflicted with Attract, Disable, Encore, Heal Block, Taunt, and Torment.
  • Constructor Details

    • AromaVeil

      public AromaVeil()
  • Method Details

    • allowsStatusTeammate

      public boolean allowsStatusTeammate(StatusType status, PixelmonWrapper pokemon, PixelmonWrapper target, PixelmonWrapper user)
      Description copied from interface: Ability
      Fires for all teammates when a status attempts to be applied.
      Parameters:
      status - The status being afflicted.
      pokemon - The Pokémon with the Ability.
      target - The Pokémon who is being afflicted with the status.
      user - The Pokémon inflicting the status.
      Returns:
      Whether the status can be afflicted.