Class BigRootTests

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

public class BigRootTests extends Object
Tests for the Big Root
  • Constructor Details

    • BigRootTests

      public BigRootTests()
  • Method Details

    • testBigRootRestoresThirtyPercentMoreHP

      public static CompletableFuture<TestResult> testBigRootRestoresThirtyPercentMoreHP(BattleTestHelper helper)
      If a Pokémon holding a Big Root uses a draining move or Strength Sap, it restores 30% more HP than it otherwise would.

      In this test, a Cradily at 1% HP that holds a Big Root and knows the move Giga Drain as well as a second Cradily at 1% HP that doesn't hold an item and knows the move Giga Drain both face two Wailords that know the move Sleep Talk.

           Turn 1
           Both of the Wailords use Sleep Talk.
           Both of the Cradilys use Giga Drain.
           -
           We verify that both of the Wailords get damaged.
           We verify that the Cradily that holds a Big Root recovers 30% more HP than the Cradily that isn't holding a Big Root.
       
    • testBigRootRestoresThirtyPercentMoreHPFromStrengthSap

      public static CompletableFuture<TestResult> testBigRootRestoresThirtyPercentMoreHPFromStrengthSap(BattleTestHelper helper)
      If a Pokémon holding a Big Root uses a draining move or Strength Sap, it restores 30% more HP than it otherwise would.

      In this test, a Shiinotic at 1% HP that holds a Big Root and knows the move Strength Sap as well as a second Shiinotic at 1% HP that doesn't hold an item and knows the move Strength Sap both face two Luvdiscs that know the move Sleep Talk.

           Turn 1
           Both of the Luvdiscs use Sleep Talk.
           Both of the Shiinotics use Strength Sap.
           -
           We verify that both of the Luvdiscs get damaged.
           We verify that the Shiinotic that holds a Big Root recovers 30% more HP than the Shiinotic that isn't holding a Big Root.
       
    • testBigRootRestoresThirtyPercentMoreHPFromLeechSeed

      public static CompletableFuture<TestResult> testBigRootRestoresThirtyPercentMoreHPFromLeechSeed(BattleTestHelper helper)
      A Pokémon holding a Big Root regains 30% more HP from Leech Seed.

      In this test, a Cradily at 1% HP that holds a Big Root and knows the move Leech Seed as well as a second Cradily at 1% HP that doesn't hold an item and knows the move Leech Seed both face two Wailords that know the move Sleep Talk.

           Turn 1
           Both of the Wailords use Sleep Talk.
           Both of the Cradilys use Leech Seed.
           -
           We verify that both of the Wailords get damaged.
           We verify that the Cradily that holds a Big Root recovers 30% more HP than the Cradily that isn't holding a Big Root.
       
    • testBigRootRestoresThirtyPercentMoreHPFromIngrain

      public static CompletableFuture<TestResult> testBigRootRestoresThirtyPercentMoreHPFromIngrain(BattleTestHelper helper)
      A Pokémon holding a Big Root regains 30% more HP from Ingrain.

      In this test, a Cradily at 1% HP that holds a Big Root and knows the move Ingrain as well as a second Cradily at 1% HP that doesn't hold an item and knows the move Ingrain both face two Wailords that know the move Sleep Talk.

           Turn 1
           Both of the Wailords use Sleep Talk.
           Both of the Cradilys use Ingrain.
           -
           We verify that the Cradily that holds a Big Root recovers 30% more HP than the Cradily that isn't holding a Big Root.
       
    • testBigRootRestoresThirtyPercentMoreHPFromAquaRing

      public static CompletableFuture<TestResult> testBigRootRestoresThirtyPercentMoreHPFromAquaRing(BattleTestHelper helper)
      A Pokémon holding a Big Root regains 30% more HP from Aqua Ring.

      In this test, a Mantine at 1% HP that holds a Big Root and knows the move Aqua Ring as well as a second Mantine at 1% HP that doesn't hold an item and knows the move Aqua Ring both face two Wailords that know the move Sleep Talk.

           Turn 1
           Both of the Wailords use Sleep Talk.
           Both of the Mantines use Aqua Ring.
           -
           We verify that the Mantine that holds a Big Root recovers 30% more HP than the Mantine that isn't holding a Big Root.