Class LightClayTests

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

public class LightClayTests extends Object
Tests for the Light Clay
  • Constructor Details

    • LightClayTests

      public LightClayTests()
  • Method Details

    • testLightClayMakesLightScreenLastEightTurns

      public static CompletableFuture<TestResult> testLightClayMakesLightScreenLastEightTurns(BattleTestHelper helper)
      If the Pokémon holding this item uses Light Screen, Reflect, or Aurora Veil, the effects of those moves last eight turns instead of five turns.

      In this test, an Amaura that holds a Light Clay and knows the move Light Screen faces a Magikarp that knows the move Splash.

           Turn 1
           The Magikarp uses Splash.
           The Amaura uses Light Screen.
           -
           We verify that the Amaura has the LightScreen status.
           We verify that the Light Screen will last 7 more turns.
       
    • testLightClayMakesReflectLastEightTurns

      public static CompletableFuture<TestResult> testLightClayMakesReflectLastEightTurns(BattleTestHelper helper)
      If the Pokémon holding this item uses Light Screen, Reflect, or Aurora Veil, the effects of those moves last eight turns instead of five turns.

      In this test, a Dottler that holds a Light Clay and knows the move Reflect faces a Magikarp that knows the move Splash.

           Turn 1
           The Magikarp uses Splash.
           The Dottler uses Reflect.
           -
           We verify that the Dottler has the Reflect status.
           We verify that the Reflect will last 7 more turns.
       
    • testLightClayMakesAuroraVeilLastEightTurns

      public static CompletableFuture<TestResult> testLightClayMakesAuroraVeilLastEightTurns(BattleTestHelper helper)
      If the Pokémon holding this item uses Light Screen, Reflect, or Aurora Veil, the effects of those moves last eight turns instead of five turns.

      In this test, an Arctovish that holds a Light Clay and knows the move Aurora Veil faces a Vanilluxe that has the ability Snow Warning and knows the move Sleep Talk.

           Turn 0
           The Vanilluxe's Snow Warning creates a snowstorm on the battlefield.
           Turn 1
           The Arctovish uses Aurora Veil.
           The Vanilluxe uses Sleep Talk.
           -
           We verify that the battlefield has the Snow status.
           We verify that the Arctovish has the AuroraVeil status.
           We verify that the Aurora Veil will last 7 more turns.
       
    • testSnatchDoesNotStealTheExtendedDuration

      public static CompletableFuture<TestResult> testSnatchDoesNotStealTheExtendedDuration(BattleTestHelper helper)
      If one of these moves is stolen by Snatch, the duration depends on whether the Pokémon that ultimately uses the move holds the Light Clay (regardless of whether the original user held it).

      In this test, an Amaura that holds a Light Clay and knows the move Light Screen faces a Purrloin that knows the move Snatch.

           Turn 1
           The Purrloin uses Snatch.
           The Amaura uses Light Screen. The Purrloin steals the Light Screen for itself.
           -
           We verify that the Purrloin has the LightScreen status.
           We verify that the Light Screen will last 4 more turns.
       
    • testScreensStolenBySnatchAreExtendedIfTheStealerHasLightClay

      public static CompletableFuture<TestResult> testScreensStolenBySnatchAreExtendedIfTheStealerHasLightClay(BattleTestHelper helper)
      If one of these moves is stolen by Snatch, the duration depends on whether the Pokémon that ultimately uses the move holds the Light Clay (regardless of whether the original user held it).

      In this test, an Amaura that knows the move Light Screen faces a Purrloin that holds a Light Clay and knows the move Snatch.

           Turn 1
           The Purrloin uses Snatch.
           The Amaura uses Light Screen. The Purrloin steals the Light Screen for itself.
           -
           We verify that the Purrloin has the LightScreen status.
           We verify that the Light Screen will last 7 more turns.