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

public class WanderingSpirit extends AbstractAbility
Switches abilities with a Pokemon that hits it with a contact move
  • Constructor Details

    • WanderingSpirit

      public WanderingSpirit()
  • Method Details

    • applyEffectOnContactTarget

      public void applyEffectOnContactTarget(PixelmonWrapper user, PixelmonWrapper target)
      Description copied from interface: Ability
      Triggers when another Pokémon makes contact with this Pokémon.
      Parameters:
      user - The attack's user.
      target - The attack's target.