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

public class Mimicry extends AbstractAbility
Changes the Pokémon's type depending on the terrain.
  • Constructor Details

    • Mimicry

      public Mimicry()
  • Method Details

    • onTerrainSwitch

      public void onTerrainSwitch(BattleController bc, PixelmonWrapper user, Terrain terrain)
      Description copied from interface: Ability
      Triggers when the terrain is changed in battle.
      Parameters:
      bc - The battle controller.
      user - The Pokémon whose holding this item.
      terrain - The terrain being switched in.