Class BodyPressTests

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

public class BodyPressTests extends Object
Tests for Body Press
  • Constructor Details

    • BodyPressTests

      public BodyPressTests()
  • Method Details

    • testBodyPressUsesUsersDefenseStat

      public static CompletableFuture<TestResult> testBodyPressUsesUsersDefenseStat(BattleTestHelper helper)
    • testBodyPressDoesNotPersist

      public static CompletableFuture<TestResult> testBodyPressDoesNotPersist(BattleTestHelper helper)
    • testBodyPressIsBoostedByAbilityBoostingAttack

      public static CompletableFuture<TestResult> testBodyPressIsBoostedByAbilityBoostingAttack(BattleTestHelper helper)
    • testBodyPressIsNotBoostedByAbilityBoostingDefense

      public static CompletableFuture<TestResult> testBodyPressIsNotBoostedByAbilityBoostingDefense(BattleTestHelper helper)
    • testBodyPressIsBoostedByAttackBoostingItem

      public static CompletableFuture<TestResult> testBodyPressIsBoostedByAttackBoostingItem(BattleTestHelper helper)
    • testBodyPressIsNotBoostedByDefenseBoostingItem

      public static CompletableFuture<TestResult> testBodyPressIsNotBoostedByDefenseBoostingItem(BattleTestHelper helper)
    • testBodyPressIsModifiedByStatusModifyingAttack

      public static CompletableFuture<TestResult> testBodyPressIsModifiedByStatusModifyingAttack(BattleTestHelper helper)
    • testBodyPressIsNotBoostedByStatusModifyingDefense

      public static CompletableFuture<TestResult> testBodyPressIsNotBoostedByStatusModifyingDefense(BattleTestHelper helper)
    • testBodyPressIsNotBoostedByAttackStatBoosts

      public static CompletableFuture<TestResult> testBodyPressIsNotBoostedByAttackStatBoosts(BattleTestHelper helper)
    • testBodyPressIsBoostedByDefenseStatBoosts

      public static CompletableFuture<TestResult> testBodyPressIsBoostedByDefenseStatBoosts(BattleTestHelper helper)
    • testBodyPressUsesDefense

      public static CompletableFuture<TestResult> testBodyPressUsesDefense(BattleTestHelper helper)
      Body Press inflicts damage, but it uses the user's Defense stat instead of its Attack stat to calculate damage.

      In this test, a Corviknight with 252 Defense EVs and an Impish nature, that knows the move Body Press, faces a Grimmsnarl with 252 HP EVs, a Careful nature, and Sleep Talk. The Grimmsnarl will switch with a Magikarp on its team when it faints.

           Turn 1
           The Corviknight uses Iron Defense.
           The Grimmsnarl uses Sleep Talk.
           Turn 2
           The Corviknight uses Iron Defense.
           The Grimmsnarl uses Sleep Talk.
           Turn 3
           The Corviknight uses Iron Defense.
           The Grimmsnarl uses Sleep Talk.
           Turn 4
           The Corviknight uses Body Press on the Grimmsnarl. The Grimmsnarl faints.
           -
           After Turn 1
           We verify that the Corviknight had its Defense raised two stages.
           After Turn 2
           We verify that the Corviknight has a +4 to its Defense.
           After Turn 3
           We verify that the Corviknight has a +6 to its Defense.
           After Turn 4
           We verify that the Corviknight's Body Press attack did somewhere between (inclusively) 85 and 101 damage.