Class QuickClawTests

java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.item.QuickClawTests

public class QuickClawTests extends Object
  • Constructor Details

    • QuickClawTests

      public QuickClawTests()
  • Method Details

    • testQuickClawIncreasesPriority

      public static CompletableFuture<TestResult> testQuickClawIncreasesPriority(BattleTestHelper helper)
      If a Quick Claw activates, the Pokémon holding it will move first.

      In this test, a Snorlax that is holding a Quick Claw, and that knows the move Spore faces off against a Deoxys that knows the move Seismic Toss. - Turn 1 Snorlax's Quick Claw activates and it attacks first despite being slower. Snorlax uses Spore. Deoxys falls asleep and fails to deal damage to the Snorlax. - We verify that the Snorlax is at full health.

    • testQuickClawOnlyIncreasesPriorityInPriorityBracket

      public static CompletableFuture<TestResult> testQuickClawOnlyIncreasesPriorityInPriorityBracket(BattleTestHelper helper)
      If a Quick Claw activates, the Pokémon holding it will move first in its priority bracket (i.e. the Pokémon still can't move faster than a Pokémon using a move with a higher priority than its own move).

      In this test, a Snorlax that is holding a Quick Claw, and that knows the move Spore faces off against a Deoxys that knows the move Quick Attack. - Turn 1 Snorlax's Quick Claw activates. Despite Snorlax having a Quick Claw, Deoxys still attacks faster because Quick Attack is a move with +1 priority. Snorlax uses Spore. - We verify that the Snorlax is not at full health.

    • testQuickClawIncreasesPriorityInTrickRoom

      public static CompletableFuture<TestResult> testQuickClawIncreasesPriorityInTrickRoom(BattleTestHelper helper)
      If a Quick Claw activates, the Pokémon holding it will move first in its priority bracket regardless of Trick Room.

      In this test, a Deoxys that is holding a Quick Claw, and that knows the move Seismic Toss and Trick Room faces off against a Snorlax that knows the moves Spore and Sleep Talk. - Turn 1 Deoxys attacks first with Sleep Talk. Nothing happens. Snorlax uses Trick Room. Snorlax will now move first since it is slower. Turn 2 Deoxys' Quick Claw activates. Deoxys uses Spore. Snorlax falls asleep and is unable to use Seismic Toss. - We verify that the Deoxys is at full health.

    • testQuickClawIncreasesPriorityWithStallAbility

      public static CompletableFuture<TestResult> testQuickClawIncreasesPriorityWithStallAbility(BattleTestHelper helper)
      If a Quick Claw activates, the Pokémon holding it will move first in its priority bracket regardless of the Stall ability (forces user to go last in its priority bracket, regardless of Speed and Trick Room).

      In this test, a Sableye with the Stall ability, that is holding a Quick Claw, and that knows the move Spore faces off against a Snorlax that knows the move Seismic Toss. Snorlax would normally be slower than Sableye, but Stall forces Sableye to go after Snorlax. - Turn 1 Sableye's Quick Claw activates. Sableye attacks first with Spore. Snorlax falls asleep and fails to deal damage to Sableye with Seismic Toss. - We verify that the Sableye is at full health.

    • testQuickClawOnlyAffectsTurnOrderAtStartOfTurn

      public static CompletableFuture<TestResult> testQuickClawOnlyAffectsTurnOrderAtStartOfTurn(BattleTestHelper helper)
      If a Quick Claw is gained, lost, or suppressed, then it will not affect turn order until the beginning of the next turn.

      In this test, a Munchlax that knows Dark Void along with a Deoxys holding a Quick Claw that knows Switcheroo faces off against a Golem and Snorlax that both know the move False Swipe. In this battle, Deoxys is the fastest Pokémon and Munchlax is the slowest Pokémon. - Turn 1 Deoxys' Quick Claw activates. This doesn't change anything as Deoxys is already the fastest. Deoxys uses Switcheroo on Munchlax and gives its Quick Claw to Munchlax. Golem uses False Swipe on Munchlax. Snorlax uses False Swipe on Munchlax. Munchlax uses Dark Void. - We verify that the Munchlax is not at full health.