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

public class SlowStart extends AbstractAbility
Halves the Pokémon's attack and speed for five turns.
  • Constructor Details

    • SlowStart

      public SlowStart()
  • 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 oldPokemon)
      Description copied from interface: Ability
      Triggers when the Pokémon switches out.
      Parameters:
      oldPokemon - The Pokémon switching out.
    • modifyStats

      public int[] modifyStats(PixelmonWrapper user, int[] stats)
      Description copied from interface: Ability
      Modifies the Pokémon's stats at the beginning of a battle turn.
      Parameters:
      user - The Pokémon.
      stats - The Pokémon's stats.
      Returns:
      The modified stats.
    • modifyStatsCancellable

      public int[] modifyStatsCancellable(PixelmonWrapper user, int[] stats)
      Description copied from interface: Ability
      Modifies the Pokémon's stats at the beginning of a battle turn. Affected by Abilities that negate other Abilities.
      Parameters:
      user - The Pokémon.
      stats - The Pokémon's stats.
      Returns:
      The modified stats.
    • startMove

      public void startMove(PixelmonWrapper user)
      Description copied from interface: Ability
      Affects the Pokémon at the start of using a move.
      Parameters:
      user - The Pokémon with the Ability.
    • applyRepeatedEffect

      public void applyRepeatedEffect(PixelmonWrapper pokemon)
      Description copied from interface: Ability
      Fires at the end of the turn.
      Parameters:
      pokemon - The Pokémon with the Ability.
    • needNewInstance

      public boolean needNewInstance()
      Description copied from interface: Ability
      Checks if a new instance of the Ability needs to be initialized if a Pokémon receives it in battle.
      Returns:
      Whether a new instance of the Ability needs to be initialized if a Pokémon receives it in battle.