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

public class Synchronize extends AbstractAbility
Passes non-volatile statuses to the Pokémon who inflicted them.
  • Constructor Details

    • Synchronize

      public Synchronize()
  • Method Details

    • onStatusAdded

      public void onStatusAdded(StatusBase status, PixelmonWrapper user, PixelmonWrapper opponent)
      Description copied from interface: Ability
      Triggers when the Pokémon acquires a status.
      Parameters:
      status - The status that was added.
      user - The statused Pokémon.
      opponent - The Pokémon who caused the status.
    • applyStartOfBattleHeadOfPartyEffect

      public void applyStartOfBattleHeadOfPartyEffect(PixelmonWrapper user, PixelmonWrapper opponent)
      Sets the nature of an encountered wild Pokémon to the same nature as the user.
      Parameters:
      user - The ability holder.
      opponent - The opposing Pokémon