Class GripClawTests

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

public class GripClawTests extends Object
Tests for the Grip Claw
  • 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

      public static CompletableFuture<TestResult> testGripClawAffectsClamp(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 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.