Class SpeedSwapStatus


public class SpeedSwapStatus extends StatusBase
  • Constructor Details

    • SpeedSwapStatus

      public SpeedSwapStatus()
    • SpeedSwapStatus

      public SpeedSwapStatus(int newSpeed)
  • Method Details

    • applyBeforeEffect

      public void applyBeforeEffect(PixelmonWrapper victim, PixelmonWrapper opponent)
      Description copied from class: StatusBase
      Triggers when the Pokémon gains the status.
      Overrides:
      applyBeforeEffect in class StatusBase
      Parameters:
      victim - The statused Pokémon.
      opponent - The attack's target.
    • modifyStats

      public int[] modifyStats(PixelmonWrapper user, int[] stats)
      Description copied from class: StatusBase
      Modifies the Pokémon's stats at the beginning of a battle turn.
      Overrides:
      modifyStats in class StatusBase
      Parameters:
      user - The Pokémon.
      stats - The Pokémon's stats.
      Returns:
      The modified stats.