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

public class AsOne extends AbstractAbility
  • Constructor Details

    • AsOne

      public AsOne()
  • Method Details

    • applySwitchInEffect

      public void applySwitchInEffect(PixelmonWrapper newPokemon)
      Description copied from interface: Ability
      Triggers after the Pokémon switches in and when the Pokémon gains an Ability.
      Parameters:
      newPokemon - The Pokémon switching in.
    • applySwitchOutEffect

      public void applySwitchOutEffect(PixelmonWrapper old)
      Description copied from interface: Ability
      Triggers when the Pokémon switches out.
      Parameters:
      old - The Pokémon switching out.
    • tookDamageUser

      public void tookDamageUser(int damage, PixelmonWrapper user, PixelmonWrapper pokemon, Attack a)
      Description copied from interface: Ability
      Triggers after the Pokémon deals damage.
      Parameters:
      damage - The amount of damage dealt.
      user - The attack's user.
      pokemon - The attack's target.
      a - The attack.
    • canBeDisabled

      public boolean canBeDisabled()
      Description copied from interface: Ability
      Returns whether the ability can be disabled by external effects eg. Neutralizing Gas.
      Returns:
      Whether the ability can be disabled.
    • canBeRoleplayed

      public boolean canBeRoleplayed()
      Description copied from interface: Ability
      Returns whether the ability can be copied via Roleplay.
      Returns:
      Whether the ability can be copied.
    • canBeSwapped

      public boolean canBeSwapped()
      Description copied from interface: Ability
      Returns whether the ability can be part of a Skill Swap exchange.
      Returns:
      Whether the ability can be swapped.
    • canBeEntrained

      public boolean canBeEntrained()
      Description copied from interface: Ability
      Returns whether the ability can be transferred via Entrainment.
      Returns:
      Whether the ability can be set on opponent.
    • canBeReceived

      public boolean canBeReceived()
      Description copied from interface: Ability
      Returns whether the ability can be copied from an ally via Receiver.
      Returns:
      Whether the ability can be Received from an ally.
    • canBeTraced

      public boolean canBeTraced()
      Description copied from interface: Ability
      Returns whether the ability can be copied via Trace.
      Returns:
      Whether the ability can be Traced.