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

public class GorillaTactics extends AbstractAbility
Boosts a pokemon's Attack by 50%, but limits it to a single move, similar to choice items.
  • Constructor Details

    • GorillaTactics

      public GorillaTactics()
  • Method Details

    • preProcessAttackUser

      public void preProcessAttackUser(PixelmonWrapper pokemon, PixelmonWrapper target, Attack a)
      Description copied from interface: Ability
      Triggers before the Pokémon attacks.
      Parameters:
      pokemon - The Pokémon with the Ability.
      target - The attack's target.
      a - The attack.
    • applySwitchInEffect

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

      public void applySwitchOutEffect(PixelmonWrapper pw)
      Description copied from interface: Ability
      Triggers when the Pokémon switches out.
      Parameters:
      pw - 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.
    • 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.