Class StuffCheeksTests

java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.move.StuffCheeksTests

public class StuffCheeksTests extends Object
  • Constructor Details

    • StuffCheeksTests

      public StuffCheeksTests()
  • Method Details

    • testEatsHeldBerryRaisesDefenseAndUsesBerryEffect

      public static CompletableFuture<TestResult> testEatsHeldBerryRaisesDefenseAndUsesBerryEffect(BattleTestHelper helper)
      The user eats its held Berry, and raises its Defense stat by two stages in addition to the effect that Berry might normally have.

      In this test, a Skwovet that holds an Apicot Berry and knows the move Stuff Cheeks faces a Magikarp that knows the move Splash. - Turn 1 The Magikarp uses Splash. Nothing happens! The Skwovet uses Stuff Cheeks. The Skwovet's Defense is raised by two stages due to Stuff Cheeks. The Skwovet's Special Defense is raised by one stage due to the Apicot Berry. - We verify that the Skwovet does not have a held item. We verify that the Skwovet's consumed item is a berry. We verify that the Skwovet's Defense has been raised by two stages. We verify that the Skwovet's Defense has been raised by one stage.

    • testWorksIfOpponentHasUnnerve

      public static CompletableFuture<TestResult> testWorksIfOpponentHasUnnerve(BattleTestHelper helper)
      The user can successfully eat its Berry even in the presence of Unnerve.

      In this test, a Skwovet that holds an Apicot Berry and knows the move Stuff Cheeks faces a Galvantula that has the Unnerve ability and knows the move Sleep Talk. - Turn 1 The Galvantula uses Sleep Talk. The Skwovet uses Stuff Cheeks. The Skwovet's Defense is raised by two stages due to Stuff Cheeks. The Skwovet's Special Defense is raised by one stage due to the Apicot Berry. - We verify that the Skwovet does not have a held item. We verify that the Skwovet's consumed item is a berry. We verify that the Skwovet's Defense has been raised by two stages. We verify that the Skwovet's Defense has been raised by one stage.

    • testWorksEvenIfMagicRoomIsActive

      public static CompletableFuture<TestResult> testWorksEvenIfMagicRoomIsActive(BattleTestHelper helper)
      The user can successfully eat its Berry even in the presence of Magic Room.

      In this test, a Skwovet that holds an Apicot Berry and knows the move Stuff Cheeks faces a Mesprit that knows the move Magic Room. - Turn 1 The Mesprit uses Magic Room. Pokémon may no longer use their held items. The Skwovet uses Stuff Cheeks and consumes its berry. The Skwovet's Defense is raised by two stages due to Stuff Cheeks. The Skwovet's Special Defense is raised by one stage due to the Apicot Berry. - We verify that the Skwovet does not have a held item. We verify that the Skwovet's consumed item is a berry. We verify that the Skwovet's Defense has been raised by two stages. We verify that the Skwovet's Defense has been raised by one stage.

    • testFailsIfBerryIsRemovedBeforeTheAttackOccurs

      public static CompletableFuture<TestResult> testFailsIfBerryIsRemovedBeforeTheAttackOccurs(BattleTestHelper helper)
      If a Pokémon would use Stuff Cheeks, but is not holding a Berry when it would use the move (e.g. if its held Berry had been removed by Knock Off), Stuff Cheeks fails.

      In this test, a Skwovet that holds an Apicot Berry and knows the move Stuff Cheeks faces a Bellsprout that knows the move Knock Off. - Turn 1 The Bellsprout uses Knock Off. The Skwovet's berry is removed. The Skwovet uses Stuff Cheeks. The move fails. - We verify that the Skwovet does not have a held item. We verify that the Skwovet's consumed item is not a berry. We verify that the Skwovet's Defense has not been raised or lowered. We verify that the Skwovet's Special Defense has not been raised or lowered.