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

public class QuickDraw extends AbstractAbility
Enables the Pokémon to move first occasionally.
  • Field Details

    • priorityModifier

      protected float priorityModifier
    • checkedThisTurn

      protected boolean checkedThisTurn
  • Constructor Details

    • QuickDraw

      public QuickDraw()
  • Method Details

    • applyStartOfTurnEffect

      public void applyStartOfTurnEffect(PixelmonWrapper pw)
      Description copied from interface: Ability
      Triggers at the start of the turn, after switches and evolutions
      Parameters:
      pw - The ability holder.
    • 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.