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

public class GaleWings extends AbstractAbility
Gives Flying-type moves +1 priority if the user is on full health.
  • Constructor Details

    • GaleWings

      public GaleWings()
  • Method Details

    • modifyPriority

      public float modifyPriority(PixelmonWrapper pokemon, float priority, MutableBoolean fractional)
      Description copied from interface: Ability
      Modifies the Pokémon's attack's priority.
      Parameters:
      pokemon - The attack's user.
      priority - The attack's priority.
      fractional - Mutable boolean object of whether this was a fractional change.
      Returns:
      The modified priority.