Class SheerForceTests

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

public class SheerForceTests extends Object
  • Constructor Details

    • SheerForceTests

      public SheerForceTests()
  • Method Details

    • shouldNotRemoveLifeOrbDamageIfNoSecondaryEffect

      public static CompletableFuture<TestResult> shouldNotRemoveLifeOrbDamageIfNoSecondaryEffect(BattleTestHelper helper)
    • shouldEliminateSecondaryEffectsFromMoves

      public static CompletableFuture<TestResult> shouldEliminateSecondaryEffectsFromMoves(BattleTestHelper helper)
    • shouldNotBlockLifeOrbIfAbilityRemovedMidAttack

      public static CompletableFuture<TestResult> shouldNotBlockLifeOrbIfAbilityRemovedMidAttack(BattleTestHelper helper)
    • shouldRemoveLifeOrbDamageIfMoveHasSecondaryEffect

      public static CompletableFuture<TestResult> shouldRemoveLifeOrbDamageIfMoveHasSecondaryEffect(BattleTestHelper helper)
    • shouldNotThawAFrozenTargetWithBoostedThawsTargetMove

      public static CompletableFuture<TestResult> shouldNotThawAFrozenTargetWithBoostedThawsTargetMove(BattleTestHelper helper)
    • shouldThawAFrozenTargetWithBoostedFireTypeMove

      public static CompletableFuture<TestResult> shouldThawAFrozenTargetWithBoostedFireTypeMove(BattleTestHelper helper)
    • shouldPreventCeaselessEdgeSpikes

      public static CompletableFuture<TestResult> shouldPreventCeaselessEdgeSpikes(BattleTestHelper helper)
    • shouldPreventCeaselessEdgeSlinters

      public static CompletableFuture<TestResult> shouldPreventCeaselessEdgeSlinters(BattleTestHelper helper)
    • testSheerForceWithRecoilMove

      public static CompletableFuture<TestResult> testSheerForceWithRecoilMove(BattleTestHelper helper)
      Sheer Force does not consider recoil to be additional effects, and thus does not prevent recoil damage.

      In this test, a Cranidos that knows Take Down faces a Binacle that knows Sleep Talk.

           Turn 1
           The Binacle uses Sleep Talk.
           The Cranidos uses Take Down.
           -
           After Turn 1
           We verify that the Binacle took damage.
           We verify that the Cranidos took damage.
           We verify that the Cranidos' Take Down did not get its power boosted.
       
    • testSheerForceWithFlareBlitz

      public static CompletableFuture<TestResult> testSheerForceWithFlareBlitz(BattleTestHelper helper)
      Flare Blitz inflicts recoil damage to the user, but also has an additional effect to burn; if the user has Sheer Force, Flare Blitz's damage will be boosted by 30% and the user will take recoil damage, but it cannot burn the target.

      In this test, a Standard Mode Darmanitan with the Sheer Force ability that knows Flare Blitz faces a Barbaracle that knows Sleep Talk.

           Turn 1
           The Darmanitan uses Flare Blitz.
           The Barbaracle uses Sleep Talk.
           -
           After Turn 1
           We verify that the Barbaracle took damage.
           We verify that the Darmanitan took damage.
           We verify that the Barbaracle was not burned.
           We verify that the Darmanitan's Flare Blitz had its power increased.
       
    • testSheerForceWithSuperpower

      public static CompletableFuture<TestResult> testSheerForceWithSuperpower(BattleTestHelper helper)
      Sheer Force does not consider decreasing the user's own stats to be additional effects.

      In this test, a Nidoqueen with the Sheer Force ability that knows Superpower faces a Swirlix that knows Sleep Talk.

           Turn 1
           The Nidoqueen uses Superpower.
           The Swirlix uses Sleep Talk.
           -
           After Turn 1
           We verify that the Swirlix took damage.
           We verify that the Nidoqueen did not take damage.
           We verify that the Nidoqueen's Attack was lowered by one stage.
           We verify that the Nidoqueen's Defense was lowered by one stage.
           We verify that the Nidoqueen's Superpower did not have its power amplified.