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

public class SweetVeil extends AbstractAbility
Prevents the user and its teammates from falling asleep.
  • Constructor Details

    • SweetVeil

      public SweetVeil()
  • 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.