java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.Ate
All Implemented Interfaces:
Ability, RarityTweak, ITranslatable
Direct Known Subclasses:
Aerilate, Galvanize, Normalize, Pixilate, Refrigerate

public abstract class Ate extends AbstractAbility
Changes Normal-type moves into a different type and increases their power by 1.2x.
  • Field Details

    • changeType

      protected Element changeType
      The type that the Ability will change Normal-type moves into.
  • Constructor Details

    • Ate

      public Ate(Element changeType)
      Initializes the Ability.
      Parameters:
      changeType - The type that the Ability will change Normal-type moves into.
  • Method Details

    • modifyType

      public Element modifyType(PixelmonWrapper pw, Attack a)
      Description copied from interface: Ability
      Modifies an attack's typing.
      Parameters:
      pw - The Pokémon with the ability, who is using a move.
      a - The attack used.
      Returns:
      The modified typing, null for no change.
    • modifyPowerAndAccuracyUser

      public int[] modifyPowerAndAccuracyUser(int power, int accuracy, PixelmonWrapper user, PixelmonWrapper target, Attack a)
      Description copied from interface: Ability
      Modifies the power and accuracy of the Pokémon's attack.
      Parameters:
      power - The attack's power.
      accuracy - The attack's accuracy.
      user - The attack's user.
      target - The attack's target.
      a - The attack.
      Returns:
      The modified power and accuracy.