Class MercilessTests

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

public class MercilessTests extends Object
Tests for the Merciless ability
  • Constructor Details

    • MercilessTests

      public MercilessTests()
  • Method Details

    • testMercilessCritsPoisonedTargets

      public static CompletableFuture<TestResult> testMercilessCritsPoisonedTargets(BattleTestHelper helper)
      Attacks used by the Pokémon with this Ability will always become critical hits against poisoned targets.

      In this test, a Mareanie with the Merciless ability that knows the moves Poison Sting and Acid Spray faces a Relicanth that knows the move Sleep Talk.

           Turn 1
           The Relicanth uses Sleep Talk.
           The Mareanie uses Poison Sting.
           Turn 2
           The Relicanth uses Sleep Talk.
           The Mareanie uses Acid Spray.
           -
           After turn 1, we verify that the Relicanth is poisoned.
           After turn 2, we verify that the Mareanie's attack was a critical hit.
       
    • testMercilessCritsBadlyPoisonedTargets

      public static CompletableFuture<TestResult> testMercilessCritsBadlyPoisonedTargets(BattleTestHelper helper)
      Attacks used by the Pokémon with this Ability will always become critical hits against (badly) poisoned targets.

      In this test, a Mareanie with the Merciless ability that knows the moves Toxic and Acid Spray faces a Relicanth that knows the move Sleep Talk.

           Turn 1
           The Relicanth uses Sleep Talk.
           The Mareanie uses Toxic.
           Turn 2
           The Relicanth uses Sleep Talk.
           The Mareanie uses Acid Spray.
           -
           After turn 1, we verify that the Relicanth is poisoned.
           After turn 2, we verify that the Mareanie's attack was a critical hit.
       
    • testMercilessFailsAgainstBattleArmor

      public static CompletableFuture<TestResult> testMercilessFailsAgainstBattleArmor(BattleTestHelper helper)
      Attacks used by the Pokémon with this Ability will always become critical hits against poisoned targets, unless that target has Battle Armor.

      In this test, a Mareanie with the Merciless ability that knows the moves Toxic and Acid Spray faces an Anorith with the Battle Armor ability that knows the move Sleep Talk.

           Turn 1
           The Anorith uses Sleep Talk.
           The Mareanie uses Toxic.
           Turn 2
           The Anorith uses Sleep Talk.
           The Mareanie uses Acid Spray.
           -
           After turn 1, we verify that the Anorith is poisoned.
           After turn 2, we verify that the Mareanie's attack was not a critical hit.
       
    • testMercilessFailsAgainstShellArmor

      public static CompletableFuture<TestResult> testMercilessFailsAgainstShellArmor(BattleTestHelper helper)
      Attacks used by the Pokémon with this Ability will always become critical hits against poisoned targets, unless that target has Shell Armor.

      In this test, a Mareanie with the Merciless ability that knows the moves Toxic and Acid Spray faces a Shellder with the Shell Armor ability that knows the move Sleep Talk.

           Turn 1
           The Shellder uses Sleep Talk.
           The Mareanie uses Toxic.
           Turn 2
           The Shellder uses Sleep Talk.
           The Mareanie uses Acid Spray.
           -
           After turn 1, we verify that the Shellder is poisoned.
           After turn 2, we verify that the Mareanie's attack was not a critical hit.
       
    • testMercilessFailsAgainstLuckyChant

      public static CompletableFuture<TestResult> testMercilessFailsAgainstLuckyChant(BattleTestHelper helper)
      Attacks used by the Pokémon with this Ability will always become critical hits against poisoned targets, unless that target is under the effects of Lucky Chant.

      In this test, a Mareanie with the Merciless ability that knows the moves Toxic and Acid Spray faces a Natu that knows the move Lucky Chant.

           Turn 1
           The Natu uses Lucky Chant.
           The Mareanie uses Toxic.
           Turn 2
           The Natu uses Lucky Chant.
           The Mareanie uses Acid Spray.
           -
           After turn 1, we verify that the Natu is poisoned.
           After turn 2, we verify that the Mareanie's attack was not a critical hit.