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 triggered)
      Description copied from interface: Ability
      Modifies the Pokémon's attack's priority.
      Parameters:
      pokemon - The attack's user.
      priority - The attack's priority.
      triggered - Mutable boolean object of whether this was activated or not.
      Returns:
      The modified priority.