Class RazorClawTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.item.RazorClawTests
Tests for the Razor Claw
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> A Razor Claw raises the critical hit ratio of the holder by one stage.
-
Constructor Details
-
RazorClawTests
public RazorClawTests()
-
-
Method Details
-
testRazorClawIncreasesCriticalHitRatioByOneStage
public static CompletableFuture<TestResult> testRazorClawIncreasesCriticalHitRatioByOneStage(BattleTestHelper helper) A Razor Claw raises the critical hit ratio of the holder by one stage.In this test, a Chansey that holds a Razor Claw and knows the move Pound faces a Bastiodon that knows the move Sleep Talk.
Before turn 1 Artificially give the Chansey the Pumped status which increases its critical hit ratio by two stages. Turn 1 The Chansey uses Pound. A critical hit occurs. The Bastiodon uses Sleep Talk. Turn 2 The Chansey uses Pound. A critical hit occurs. The Bastiodon uses Sleep Talk. Turn 3 The Chansey uses Pound. A critical hit occurs. The Bastiodon uses Sleep Talk. Turn 4 The Chansey uses Pound. A critical hit occurs. The Bastiodon uses Sleep Talk. Turn 5 The Chansey uses Pound. A critical hit occurs. The Bastiodon uses Sleep Talk. Turn 6 The Chansey uses Pound. A critical hit occurs. The Bastiodon uses Sleep Talk. - We verify before any attacks happen that the Chansey has a critical hit stage of 1, from its Razor Claw. After the first turn, we verify that the Chansey has a critical hit stage equal to 3. After every turn, we verify that the Chansey hit a critical hit.
-