Class GripClawTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.item.GripClawTests
Tests for the Grip Claw
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> When held by a Pokémon, it causes binding moves used by the holder to always bind for 7 turns.static CompletableFuture
<TestResult> When held by a Pokémon, it causes binding moves used by the holder to always bind for 7 turns.
-
Constructor Details
-
GripClawTests
public GripClawTests()
-
-
Method Details
-
testGripClawIncreasesAmountOfTurnsTrappedToSeven
public static CompletableFuture<TestResult> testGripClawIncreasesAmountOfTurnsTrappedToSeven(BattleTestHelper helper) When held by a Pokémon, it causes binding moves used by the holder to always bind for 7 turns.In this test, a Tangrowth that holds a Grip Claw and knows the move Bind faces a Magikarp that knows the move Splash.
Turn 1 The Magikarp uses Splash. The Tangrowth uses Bind. The Magikarp becomes Bound for 7 turns. - We verify that the Magikarp has the PartialTrap status. We verify that the Magikarp is Bound for 6 more turns.
-
testGripClawAffectsClamp
When held by a Pokémon, it causes binding moves used by the holder to always bind for 7 turns.In this test, a Shellder that holds a Grip Claw and knows the move Clamp faces a Magikarp that knows the move Splash.
Turn 1 The Magikarp uses Splash. The Shellder uses Clamp. The Magikarp becomes Bound for 7 turns. - We verify that the Magikarp has the PartialTrap status. We verify that the Magikarp is Bound for 6 more turns.
-