Class PickPocketTests

java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.ability.PickPocketTests

public class PickPocketTests extends Object
  • Constructor Details

    • PickPocketTests

      public PickPocketTests()
  • Method Details

    • testStealsFoesItemWhenHitByContactMove

      public static CompletableFuture<TestResult> testStealsFoesItemWhenHitByContactMove(BattleTestHelper helper)
    • testDoesNotStealAfterEjectButton

      public static CompletableFuture<TestResult> testDoesNotStealAfterEjectButton(BattleTestHelper helper)
    • testDoesNotStealAfterForcedOutOfBattle

      public static CompletableFuture<TestResult> testDoesNotStealAfterForcedOutOfBattle(BattleTestHelper helper)
    • testPickpocketWithSubstituteVsProtectivePads

      public static CompletableFuture<TestResult> testPickpocketWithSubstituteVsProtectivePads(BattleTestHelper helper)
      Pickpocket does not steal Protective Pads in the scenario where... the holder of Protective Pads makes contact with the Pickpocket user, but the Pickpocket user has a substitute. This is because hitting a substitute does not count as making contact.

      In this test, a Gible that knows Tackle faces a Binacle with the Pickpocket ability that knows Substitute.

           Turn 1
           The Binacle uses Substitute.
           The Gible uses Tackle.
           -
           After Turn 1
           We verify that the Binacle took damage.
           We verify that the Binacle still has a substitute.
           We verify that the Binacle is not holding Protective Pads.
           We verify that the Gible is holding Protective Pads.