Class InPursuit


public class InPursuit extends StatusBase
Pokemon is currently chasing an opposing pokemon that is switching out
  • Constructor Details

    • InPursuit

      public InPursuit()
  • Method Details

    • cantMiss

      public boolean cantMiss(PixelmonWrapper user)
      Description copied from class: EffectBase
      Determines whether a move cannot miss.
      Overrides:
      cantMiss in class StatusBase
      Parameters:
      user - The move's user.
      Returns:
      Whether the move can't miss.
    • modifyPowerAndAccuracyUser

      public int[] modifyPowerAndAccuracyUser(int power, int accuracy, PixelmonWrapper user, PixelmonWrapper target, Attack a)
      Description copied from class: StatusBase
      Modifies the power and accuracy of the attack used by the statused Pokémon.
      Overrides:
      modifyPowerAndAccuracyUser in class StatusBase
      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.
    • onEndOfTurn

      public void onEndOfTurn(PixelmonWrapper pw)
      Description copied from class: StatusBase
      Occurs at the end of the Pokémon's current turn.
      Overrides:
      onEndOfTurn in class StatusBase
      Parameters:
      pw - The statused Pokémon.