Class IvyCudgelTests

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

public class IvyCudgelTests extends Object
Tests for Ivy Cudgel. Type changes per Ogerpon form. Non-Ogerpon users always hit Grass-type.
  • Constructor Details

    • IvyCudgelTests

      public IvyCudgelTests()
  • Method Details

    • testIvyCudgelIsGrassTypeForTealForm

      public static CompletableFuture<TestResult> testIvyCudgelIsGrassTypeForTealForm(BattleTestHelper helper)
      Teal form (default) should be Grass-type. Confirmed with 4x on Rhyperior (Ground/Rock).
    • testIvyCudgelIsWaterTypeForWellspringForm

      public static CompletableFuture<TestResult> testIvyCudgelIsWaterTypeForWellspringForm(BattleTestHelper helper)
      Wellspring form should be Water-type. Confirmed with 4x on Magcargo (Fire/Rock).
    • testIvyCudgelIsFireTypeForHearthflameForm

      public static CompletableFuture<TestResult> testIvyCudgelIsFireTypeForHearthflameForm(BattleTestHelper helper)
      Hearthflame form should be Fire-type. Confirmed with 4x on Abomasnow (Grass/Ice).
    • testIvyCudgelIsRockTypeForCornerstoneForm

      public static CompletableFuture<TestResult> testIvyCudgelIsRockTypeForCornerstoneForm(BattleTestHelper helper)
      Cornerstone form should be Rock-type. Confirmed with 4x on Moltres (Fire/Flying).
    • testIvyCudgelIsAlwaysGrassTypeForNonOgerpon

      public static CompletableFuture<TestResult> testIvyCudgelIsAlwaysGrassTypeForNonOgerpon(BattleTestHelper helper)
      Non-Ogerpon users should always hit Grass-type. Confirmed with 4x on Rhyperior (Ground/Rock).
    • testWellspringIvyCudgelIsNullifiedByWaterAbsorb

      public static CompletableFuture<TestResult> testWellspringIvyCudgelIsNullifiedByWaterAbsorb(BattleTestHelper helper)
      Water-type Ivy Cudgel from Wellspring form should be absorbed by Water Absorb.
    • testHearthflameIvyCudgelTriggersFlashFire

      public static CompletableFuture<TestResult> testHearthflameIvyCudgelTriggersFlashFire(BattleTestHelper helper)
      Fire-type Ivy Cudgel from Hearthflame form should trigger Flash Fire with no damage dealt.
    • testIvyCudgelIsFireTypeForDittoHearthflameForm

      public static CompletableFuture<TestResult> testIvyCudgelIsFireTypeForDittoHearthflameForm(BattleTestHelper helper)
      A Ditto that Transforms into an opposing Ogerpon correctly copies the Typing of Ivy Cudgel. For instance, Ditto Transforms into Hearthflame Ogerpon and has access to a Fire-type Ivy Cudgel. Source of info from Smogon's Scarlet invalid input: '&' Violet Battle Mechanics Research thread.

      In this battle, a Ditto with the Imposter ability faces a Hearthflame-form Ogerpon that knows Ivy Cudgel.

           Before Turn 1
           The Ditto transforms into the Hearthflame Ogerpon.
           Turn 1
           The Ditto uses Ivy Cudgel.
           The Ogerpon uses Ivy Cudgel.
           -
           After Turn 1
           We verify that the Ditto's Ivy Cudgel attack was Fire-type.
       
    • testIvyCudgelIsFireTypeForCornerstoneHoldingDittoHearthflameForm

      public static CompletableFuture<TestResult> testIvyCudgelIsFireTypeForCornerstoneHoldingDittoHearthflameForm(BattleTestHelper helper)
      Ditto still copies the target's Ivy Cudgel typing even if Ditto is holding a Mask that differs from the Transform target's Mask. So if your Ditto holds Cornerstone Mask and Transforms into a Hearthflame Ogerpon, then Ditto's Ivy Cudgel is Fire-type. Source of info from Smogon's Scarlet invalid input: '&' Violet Battle Mechanics Research thread.

      In this battle, a Ditto with the Imposter ability faces, holding a Cornerstone Mask faces a Hearthflame-form Ogerpon that knows Ivy Cudgel.

           Before Turn 1
           The Ditto transforms into the Hearthflame Ogerpon.
           Turn 1
           The Ditto uses Ivy Cudgel.
           The Ogerpon uses Ivy Cudgel.
           -
           After Turn 1
           We verify that the Ditto's Ivy Cudgel attack was Fire-type.
       
    • testIvyCudgelIsGrassTypeForPikachuTransformedOgerpon

      public static CompletableFuture<TestResult> testIvyCudgelIsGrassTypeForPikachuTransformedOgerpon(BattleTestHelper helper)
      Wellspring Ogerpon Transforming into a Pikachu that knows Ivy Cudgel results in Wellspring Ogerpon's Ivy Cudgel becoming Grass-type. Source of info from Smogon's Scarlet invalid input: '&' Violet Battle Mechanics Research thread.

      In this battle, a Wellspring-form Ogerpon, holding a Wellspring Mask, that knows Transform and Ivy Cudgel faces a Pikachu that knows Sleep Talk and Ivy Cudgel.

           Turn 1
           The Ogerpon uses Transform and transforms into the Pikachu.
           The Pikachu uses Sleep Talk.
           Turn 2
           The Ogerpon-Pikachu uses Ivy Cudgel.
           The Pikachu uses Sleep Talk.
           -
           After Turn 1
           We verify that the Ogerpon has the Transformed status.
           After Turn 2
           We verify that the Ogerpon's Ivy Cudgel attack was Grass-type.
       
    • testIvyCudgelTypeForOgerponTransformedOgerpon

      public static CompletableFuture<TestResult> testIvyCudgelTypeForOgerponTransformedOgerpon(BattleTestHelper helper)
      Hearthflame Ogerpon Transforming into Wellspring Ogerpon results in the Transformed Hearthflame Ogerpon's Ivy Cudgel becoming Water-type. Source of info from Smogon's Scarlet invalid input: '&' Violet Battle Mechanics Research thread.

      In this battle, a Hearthflame-form Ogerpon, holding a Hearthflame Mask, that knows Transform and Ivy Cudgel faces a Wellspring-form Ogerpon, holding a Wellspring Mask, that knows Sleep Talk and Ivy Cudgel

           Turn 1
           The Hearthflame Ogerpon uses Transform and transforms into the Wellspring Ogerpon.
           The Wellspring Ogerpon uses Sleep Talk.
           Turn 2
           The transformed Ogerpon uses Ivy Cudgel.
           The Wellspring Ogerpon uses Sleep Talk.
           -
           After Turn 1
           We verify that the Ogerpon has the Transformed status.
           After Turn 2
           We verify that the Ogerpon's Ivy Cudgel attack was Water-type.