Class BerryRestoreHPConfusionTests

java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.item.BerryRestoreHPConfusionTests

public class BerryRestoreHPConfusionTests extends Object
  • Constructor Details

    • BerryRestoreHPConfusionTests

      public BerryRestoreHPConfusionTests()
  • Method Details

    • testAguavBerryRestoresHPAndCausesConfusion

      public static CompletableFuture<TestResult> testAguavBerryRestoresHPAndCausesConfusion(BattleTestHelper helper)
      An Aguav Berry, when held by a Pokémon, will restore 1/3 of its maximum HP when its HP drops to 1/4 or below, but causes confusion to Pokémon that dislike the bitter flavor.

      In this test a Golurk that knows the move Shadow Punch faces a Abra that has a Naughty nature, is holding an Aguav Berry, and that knows the move Endure. - The Abra uses Endure. The Golurk uses Shadow Punch. The Abra survives at 1 HP due to using Endure. The Abra then consumes its Aguav Berry. It heals the Abra but also confuses it. - We verify that the Abra is not at 1 HP. We verify that the Abra no longer has a held item. We verify that the Abra has the Confusion status. We verify that the Abra HP is at 1 + 1/3 of its maximum HP.

    • testAguavBerryCanHealWithoutConfusing

      public static CompletableFuture<TestResult> testAguavBerryCanHealWithoutConfusing(BattleTestHelper helper)
      An Aguav Berry, when held by a Pokémon, will restore 1/3 of its maximum HP when its HP drops to 1/4 or below, but causes confusion to Pokémon that dislike the bitter flavor.

      In this test a Golurk that knows the move Shadow Punch faces a Abra that has a Bold nature, is holding an Aguav Berry, and that knows the move Endure. - The Abra uses Endure. The Golurk uses Shadow Punch. The Abra survives at 1 HP due to using Endure. The Abra then consumes its Aguav Berry. It heals the Abra. - We verify that the Abra is not at 1 HP. We verify that the Abra no longer has a held item. We verify that the Abra does not have the Confusion status. We verify that the Abra HP is at 1 + 1/3 of its maximum HP.

    • testFigyBerryRestoresHPAndCausesConfusion

      public static CompletableFuture<TestResult> testFigyBerryRestoresHPAndCausesConfusion(BattleTestHelper helper)
      A Figy Berry, when held by a Pokémon, will restore 1/3 of its maximum HP when its HP drops to 1/4 or below, but causes confusion to Pokémon that dislike the bitter flavor.

      In this test a Golurk that knows the move Shadow Punch faces a Abra that has a Modest nature, is holding a Figy Berry, and that knows the move Endure. - The Abra uses Endure. The Golurk uses Shadow Punch. The Abra survives at 1 HP due to using Endure. The Abra then consumes its Figy Berry. It heals the Abra but also confuses it. - We verify that the Abra is not at 1 HP. We verify that the Abra no longer has a held item. We verify that the Abra has the Confusion status. We verify that the Abra HP is at 1 + 1/3 of its maximum HP.

    • testFigyBerryCanHealWithoutConfusing

      public static CompletableFuture<TestResult> testFigyBerryCanHealWithoutConfusing(BattleTestHelper helper)
      A Figy Berry, when held by a Pokémon, will restore 1/3 of its maximum HP when its HP drops to 1/4 or below, but causes confusion to Pokémon that dislike the bitter flavor.

      In this test a Golurk that knows the move Shadow Punch faces a Abra that has a Bashful nature, is holding a Figy Berry, and that knows the move Endure. - The Abra uses Endure. The Golurk uses Shadow Punch. The Abra survives at 1 HP due to using Endure. The Abra then consumes its Figy Berry. It heals the Abra. - We verify that the Abra is not at 1 HP. We verify that the Abra no longer has a held item. We verify that the Abra does not have the Confusion status. We verify that the Abra HP is at 1 + 1/3 of its maximum HP.

    • testIapapaBerryRestoresHPAndCausesConfusion

      public static CompletableFuture<TestResult> testIapapaBerryRestoresHPAndCausesConfusion(BattleTestHelper helper)
      An Iapapa Berry, when held by a Pokémon, will restore 1/3 of its maximum HP when its HP drops to 1/4 or below, but causes confusion to Pokémon that dislike the bitter flavor.

      In this test a Golurk that knows the move Shadow Punch faces a Abra that has a Lonely nature, is holding an Iapapa Berry, and that knows the move Endure. - The Abra uses Endure. The Golurk uses Shadow Punch. The Abra survives at 1 HP due to using Endure. The Abra then consumes its Iapapa Berry. It heals the Abra but also confuses it. - We verify that the Abra is not at 1 HP. We verify that the Abra no longer has a held item. We verify that the Abra has the Confusion status. We verify that the Abra HP is at 1 + 1/3 of its maximum HP.

    • testIapapaBerryCanHealWithoutConfusing

      public static CompletableFuture<TestResult> testIapapaBerryCanHealWithoutConfusing(BattleTestHelper helper)
      An Iapapa Berry, when held by a Pokémon, will restore 1/3 of its maximum HP when its HP drops to 1/4 or below, but causes confusion to Pokémon that dislike the bitter flavor.

      In this test a Golurk that knows the move Shadow Punch faces a Abra that has a Brave nature, is holding an Iapapa Berry, and that knows the move Endure. - The Abra uses Endure. The Golurk uses Shadow Punch. The Abra survives at 1 HP due to using Endure. The Abra then consumes its Iapapa Berry. It heals the Abra. - We verify that the Abra is not at 1 HP. We verify that the Abra no longer has a held item. We verify that the Abra does not have the Confusion status. We verify that the Abra HP is at 1 + 1/3 of its maximum HP.

    • testMagoBerryRestoresHPAndCausesConfusion

      public static CompletableFuture<TestResult> testMagoBerryRestoresHPAndCausesConfusion(BattleTestHelper helper)
      A Mago Berry, when held by a Pokémon, will restore 1/3 of its maximum HP when its HP drops to 1/4 or below, but causes confusion to Pokémon that dislike the bitter flavor.

      In this test a Golurk that knows the move Shadow Punch faces a Abra that has a Brave nature, is holding an Mago Berry, and that knows the move Endure. - The Abra uses Endure. The Golurk uses Shadow Punch. The Abra survives at 1 HP due to using Endure. The Abra then consumes its Mago Berry. It heals the Abra but also confuses it. - We verify that the Abra is not at 1 HP. We verify that the Abra no longer has a held item. We verify that the Abra has the Confusion status. We verify that the Abra HP is at 1 + 1/3 of its maximum HP.

    • testMagoBerryCanHealWithoutConfusing

      public static CompletableFuture<TestResult> testMagoBerryCanHealWithoutConfusing(BattleTestHelper helper)
      A Mago Berry, when held by a Pokémon, will restore 1/3 of its maximum HP when its HP drops to 1/4 or below, but causes confusion to Pokémon that dislike the bitter flavor.

      In this test a Golurk that knows the move Shadow Punch faces a Abra that has a Docile nature, is holding an Mago Berry, and that knows the move Endure. - The Abra uses Endure. The Golurk uses Shadow Punch. The Abra survives at 1 HP due to using Endure. The Abra then consumes its Mago Berry. It heals the Abra. - We verify that the Abra is not at 1 HP. We verify that the Abra no longer has a held item. We verify that the Abra does not have the Confusion status. We verify that the Abra HP is at 1 + 1/3 of its maximum HP.

    • testWikiBerryRestoresHPAndCausesConfusion

      public static CompletableFuture<TestResult> testWikiBerryRestoresHPAndCausesConfusion(BattleTestHelper helper)
      A Wiki Berry, when held by a Pokémon, will restore 1/3 of its maximum HP when its HP drops to 1/4 or below, but causes confusion to Pokémon that dislike the bitter flavor.

      In this test a Golurk that knows the move Shadow Punch faces a Abra that has an Adamant nature, is holding an Wiki Berry, and that knows the move Endure. - The Abra uses Endure. The Golurk uses Shadow Punch. The Abra survives at 1 HP due to using Endure. The Abra then consumes its Wiki Berry. It heals the Abra but also confuses it. - We verify that the Abra is not at 1 HP. We verify that the Abra no longer has a held item. We verify that the Abra has the Confusion status. We verify that the Abra HP is at 1 + 1/3 of its maximum HP.

    • testWikiBerryCanHealWithoutConfusing

      public static CompletableFuture<TestResult> testWikiBerryCanHealWithoutConfusing(BattleTestHelper helper)
      A Wiki Berry, when held by a Pokémon, will restore 1/3 of its maximum HP when its HP drops to 1/4 or below, but causes confusion to Pokémon that dislike the bitter flavor.

      In this test a Golurk that knows the move Shadow Punch faces a Abra that has a Gentle nature, is holding an Wiki Berry, and that knows the move Endure. - The Abra uses Endure. The Golurk uses Shadow Punch. The Abra survives at 1 HP due to using Endure. The Abra then consumes its Wiki Berry. It heals the Abra. - We verify that the Abra is not at 1 HP. We verify that the Abra no longer has a held item. We verify that the Abra does not have the Confusion status. We verify that the Abra HP is at 1 + 1/3 of its maximum HP.