public class Priority extends AttackModifierBase
Causes the move to be executed at the beginning or the end of turn order.
  • Field Details

    • priority

      public int priority
  • Constructor Details

    • Priority

      public Priority(Value... values)
      Initializes a priority effect.
      Parameters:
      values - The priority of the move.
  • Method Details

    • modifyPriority

      public int modifyPriority(int priority, ImmutableAttack attack, PixelmonWrapper pw)
      Modifies the priority of a move.
      Overrides:
      modifyPriority in class EffectBase
      Parameters:
      priority - The current calculated priority.
      attack - The attack being used.
      pw - The Pokémon using the move.
      Returns:
      The new priority.