Class ClearAmuletTests

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

public class ClearAmuletTests extends Object
Tests for the Clear Amulet
  • Constructor Details

    • ClearAmuletTests

      public ClearAmuletTests()
  • Method Details

    • testClearAmuletPreventsStatReductionFromMoves

      public static CompletableFuture<TestResult> testClearAmuletPreventsStatReductionFromMoves(BattleTestHelper helper)
      A Clear Amulet prevents the holder from having its stats lowered by other Pokémon's moves or Abilities.

      In this test, a Honchkrow that holds a Clear Amulet and knows the move Sleep Talk faces a Murkrow that knows the move Scary Face. The Murkrow's ability is set to Insomnia so that Prankster doesn't interfere with the test.

           Turn 1
           Honchkrow uses Sleep Talk.
           Murkrow uses Scary Face.
           -
           We verify that the Honchkrow's Speed stat was not lowered at all.
       
    • testClearAmuletDoesNotPreventHaze

      public static CompletableFuture<TestResult> testClearAmuletDoesNotPreventHaze(BattleTestHelper helper)
      A Clear Amulet prevents the holder from having its stats lowered by other Pokémon's moves or Abilities. However, this item doesn't protect the user from the effects of Haze or Clear Smog.

      In this test, a Murkrow that holds a Clear Amulet and knows the move Nasty Plot faces a Honchkrow that knows the move Haze.

           Turn 1
           Murkrow uses Nasty Plot.
           Honchkrow uses Haze.
           -
           We verify that the Murkrow's Special Attack stat is at its original value.
       
    • testClearAmuletDoesNotPreventClearSmog

      public static CompletableFuture<TestResult> testClearAmuletDoesNotPreventClearSmog(BattleTestHelper helper)
      A Clear Amulet prevents the holder from having its stats lowered by other Pokémon's moves or Abilities. However, this item doesn't protect the user from the effects of Haze or Clear Smog.

      In this test, a Murkrow that holds a Clear Amulet and knows the move Nasty Plot faces a Brute Bonnet that knows the move Clear Smog.

           Turn 1
           Murkrow uses Nasty Plot.
           Brute Bonnet uses Clear Smog.
           -
           We verify that the Murkrow's Special Attack stat is at its original value.
       
    • testClearAmuletPreventsStatReductionFromAbilities

      public static CompletableFuture<TestResult> testClearAmuletPreventsStatReductionFromAbilities(BattleTestHelper helper)
      A Clear Amulet prevents the holder from having its stats lowered by other Pokémon's moves or Abilities.

      In this test, a Honchkrow that holds a Clear Amulet and knows the move Sleep Talk faces a Staravia that has the Intimidate ability and knows Sleep Talk.

           Before Turn 1
           The Staravia's Intimidate activates.
           Turn 1
           Honchkrow uses Sleep Talk.
           Staravia uses Sleep Talk.
           -
           We verify that the Honchkrow's Attack stat was not lowered at all.
       
    • testClearAmuletDoesNotPreventSelfStatReduction

      public static CompletableFuture<TestResult> testClearAmuletDoesNotPreventSelfStatReduction(BattleTestHelper helper)
      A Clear Amulet does not prevent the holder from lowering its own stats.

      In this test, a Staraptor that holds a Clear Amulet and knows the move Close Combat faces a Perrserker that knows Screech.

           Turn 1
           Staraptor uses Close Combat.
           Perrserker uses Screech.
           -
           We verify that the Staraptor's Defense stat was lowered by one stage.
           We verify that the Staraptor's Special Defense stat was lowered by one stage.
       
    • testClearAmuletDoesNotPreventTopsyTurvy

      public static CompletableFuture<TestResult> testClearAmuletDoesNotPreventTopsyTurvy(BattleTestHelper helper)
      A Clear Amulet probably allows non-direct stat swapping or stat changing moves to affect its holder, especially when those moves also ignore Clear Body.

      In this test, a Honchkrow that holds a Clear Amulet and knows the move Nasty Plot faces an Inkay that knows the move Topsy-Turvy.

           Turn 1
           Honchkrow uses Nasty Plot.
           Inkay uses Topsy-Turvy.
           -
           We verify that the Honchkrow's Special Attack was reversed from +2 stages to -2 stages.
       
    • testClearAmuletDoesNotPreventPowerSwap

      public static CompletableFuture<TestResult> testClearAmuletDoesNotPreventPowerSwap(BattleTestHelper helper)
      A Clear Amulet probably allows non-direct stat swapping or stat changing moves to affect its holder, especially when those moves also ignore Clear Body.

      In this test, a Honchkrow that holds a Clear Amulet and knows the move Nasty Plot faces a Farigiraf that knows the move Power Swap.

           Turn 1
           Honchkrow uses Nasty Plot.
           Farigiraf uses Power Swap.
           -
           We verify that the Honchkrow's Special Attack was reversed from +2 stages to -2 stages.
       
    • testClearAmuletDoesNotPreventBatonPass

      public static CompletableFuture<TestResult> testClearAmuletDoesNotPreventBatonPass(BattleTestHelper helper)
      A Clear Amulet allows non-direct stat swapping or stat changing moves to affect its holder, even if those stats result in negative stat changes.

      In this test, a Huntail that knows the moves Shell Smash and Baton pass faces an Inkay that knows the move Sleep Talk. A Gorebyss that holds a Clear Amulet and knows Sleep Talk is on the Huntail's team.

           Turn 1
           Huntail uses Shell Smash.
           Inkay uses Sleep Talk.
           Turn 2
           Huntail uses Baton Pass and switches out for the Gorebyss.
           Inkay uses Sleep Talk.
           -
           After Turn 2
           We verify that the Gorebyss's Attack as raised by 2 stages.
           We verify that the Gorebyss's Special Attack as raised by 2 stages.
           We verify that the Gorebyss's Speed as raised by 2 stages.
           We verify that the Gorebyss's Defense as lowered by 1 stage.
           We verify that the Gorebyss's Special Defense as lowered by 1 stage.
       
    • testClearAmuletDoesNotPreventPowerSplit

      public static CompletableFuture<TestResult> testClearAmuletDoesNotPreventPowerSplit(BattleTestHelper helper)
      A Clear Amulet probably allows non-direct stat swapping or stat changing moves to affect its holder, especially when those moves also ignore Clear Body.

      In this test, a Honchkrow that holds a Clear Amulet and knows the move Nasty Plot faces a Beheeyem that knows the move Power Split.

           Turn 1
           Honchkrow uses Nasty Plot.
           Beheeyem uses Power Split.
           -
           We verify that the Honchkrow's Special Attack was raised by 2 stages.
       
    • testClearAmuletDoesNotPreventSpectralThief

      public static CompletableFuture<TestResult> testClearAmuletDoesNotPreventSpectralThief(BattleTestHelper helper)
      A Clear Amulet probably allows non-direct stat swapping or stat changing moves to affect its holder, especially when those moves also ignore Clear Body.

      In this test, a Miraidon that holds a Clear Amulet and knows the move Agility faces a Marshadow that knows the move Spectral Thief.

           Turn 1
           Miraidon uses Agility.
           Marshadow uses Spectral Thief.
           -
           We verify that the Miraidon's Speed was reset from +2 stages to 0 stages.
           We verify that the Marshadow's Speed was increased by 2 stages.
       
    • testClearAmuletPreventsOctolockStatDrop

      public static CompletableFuture<TestResult> testClearAmuletPreventsOctolockStatDrop(BattleTestHelper helper)
      A Clear Amulet probably prevents the stat drop that the Octolock status causes.

      In this test, a Honchkrow that holds a Clear Amulet and knows the move Sleep Talk faces a Grapploct that knows the moves Octolock and Sleep Talk.

           Turn 1
           Honchkrow uses Sleep Talk.
           Grapploct uses Octolock.
           Turn 2
           Honchkrow uses Sleep Talk.
           Grapploct uses Sleep Talk.
           -
           After Turn 1
           We verify that the Honchkrow has the Octolock status.
           We verify that the Honchkrow's Defense was not lowered by one stage.
           We verify that the Honchkrow's Special Defense was not lowered by one stage.
           After Turn 2
           We verify that the Honchkrow has the Octolock status.
           We verify that the Honchkrow's Defense was not lowered by one stage.
           We verify that the Honchkrow's Special Defense was not lowered by one stage.
       
    • testClearAmuletPreventsStrengthSap

      public static CompletableFuture<TestResult> testClearAmuletPreventsStrengthSap(BattleTestHelper helper)
      A Clear Amulet prevents the holder from having its stats lowered by other Pokémon's moves or Abilities.

      In this test, a Honchkrow that holds a Clear Amulet and knows the move Sleep Talk faces a Sinistcha at 95% HP that knows the move Strength Sap.

           Turn 1
           Honchkrow uses Sleep Talk.
           Sinistcha uses Strength Sap.
           -
           Before Turn 1
           We verify that the Sinistcha does not start with 100% HP.
           After Turn 1
           We verify that the Honchkrow's Attack stat was not lowered at all.
           We verify that the Sinistcha recovered enough HP to be at 100% HP.
       
    • testClearAmuletActivatesAfterGuardDog

      public static CompletableFuture<TestResult> testClearAmuletActivatesAfterGuardDog(BattleTestHelper helper)
      Guard Dog still activates its Attack boost effect on opposing Intimidate even if the Guard Dog user is holding a Clear Amulet. See this YouTube video posted by DarkFE.

      In this test, an Okidogi with the Guard Dog ability that holds a Clear Amulet and knows the move Sleep Talk faces a Staravia with the Intimidate ability that knows Sleep Talk.

           Before Turn 1
           The Staravia's Intimidate activates.
           THe Okidogi's Guard Dog activates.
           Turn 1
           Okidogi uses Sleep Talk.
           Staravia uses Sleep Talk.
           -
           We verify that the Okidogi's Attack stat was increased by one stage.
       
    • testClearAmuletActivatesBeforeRattled

      public static CompletableFuture<TestResult> testClearAmuletActivatesBeforeRattled(BattleTestHelper helper)
      A Rattled user holding a Clear Amulet does not gain the Speed boost from opposing Intimidate. See this YouTube video posted by DarkFE.

      In this test, a Dudunsparce with the Rattled ability that holds a Clear Amulet and knows the move Sleep Talk faces a Staravia with the Intimidate ability that knows Sleep Talk.

           Before Turn 1
           The Staravia's Intimidate activates. Nothing happens.
           Turn 1
           Dudunsparce uses Sleep Talk.
           Staravia uses Sleep Talk.
           -
           We verify that the Dudunsparce's Attack stat was not decreased.
           We verify that the Dudunsparce's Speed stat was not raised.
       
    • testClearAmuletActivatesAfterContrary

      public static CompletableFuture<TestResult> testClearAmuletActivatesAfterContrary(BattleTestHelper helper)
      Contrary still activates on Intimidate with Clear Amulet. See this YouTube video posted by DarkFE.

      In this test, a Lurantis with the Contrary ability that holds a Clear Amulet and knows the move Sleep Talk faces a Staraptor with the Intimidate ability that knows Sleep Talk.

           Before Turn 1
           The Staraptor's Intimidate activates. The Lurantis' Contrary activates and raises its Attack.
           Turn 1
           Lurantis uses Sleep Talk.
           Staraptor uses Sleep Talk.
           -
           We verify that the Lurantis's Attack stat was raised by one stage.
       
    • testClearAmuletActivatesAfterWhiteSmoke

      public static CompletableFuture<TestResult> testClearAmuletActivatesAfterWhiteSmoke(BattleTestHelper helper)
      White Smoke activates before a Clear Amulet activates. See this YouTube video posted by DarkFE.

      In this test, a Torkoal with the White Smoke ability that holds a Clear Amulet and knows the move Sleep Talk faces a Staraptor with the Intimidate ability that knows Sleep Talk.

           Before Turn 1
           The Staraptor's Intimidate activates. The Torkoal's White Smoke activates.
           Turn 1
           Torkoal uses Sleep Talk.
           Staraptor uses Sleep Talk.
           -
           We verify that the Torkoal's Attack stat did not change.
           We verify that White Smoke's activation message was displayed.
           We verify that the Clear Amulet's activation message was not displayed.
       
    • testClearAmuletActivatesBeforeMirrorArmor

      public static CompletableFuture<TestResult> testClearAmuletActivatesBeforeMirrorArmor(BattleTestHelper helper)
      A Mirror Armor user holding a Clear Amulet does not reflect stat drops. See this post on the Smogon forums and this post on pokemondb.net .

      In this test, a Corviknight with the Mirror Armor ability that holds a Clear Amulet and knows the move Sleep Talk faces an Incineroar with the Intimidate ability that knows Parting Shot. The Incineroar also has a Grimmsnarl on its team to potentially switch with.

           Before Turn 1
           The Incineroar's Intimidate activates. The Corviknight's Clear Amulet activates.
           Turn 1
           Corviknight uses Sleep Talk.
           Incineroar uses Parting Shot.
           -
           We verify that the Corviknight's Attack stat did not change.
           We verify that the Incineroar's Attack stat did not change.
           We verify that the Corviknight's Special Attack stat did not change.
           We verify that the Incineroar's Special Attack stat did not change.
           We verify that the Incineroar is on the battlefield.
           We verify that the Grimmsnarl is not on the battlefield.
       
    • testClearAmuletActivatesBeforeCompetitive

      public static CompletableFuture<TestResult> testClearAmuletActivatesBeforeCompetitive(BattleTestHelper helper)
      A Clear Amulet prevents Competitive from activating. See this YouTube video posted by DarkFE.

      In this test, a Wigglytuff with the Competitive ability that holds a Clear Amulet and knows the move Sleep Talk faces a Staraptor with the Intimidate ability that knows Sleep Talk.

           Before Turn 1
           The Staraptor's Intimidate activates. The Wigglytuff's Clear Amulet activates.
           Turn 1
           Wigglytuff uses Sleep Talk.
           Staraptor uses Sleep Talk.
           -
           We verify that the Wigglytuff's Attack stat did not change.
           We verify that the Wigglytuff's Special Attack stat did not change.
       
    • testClearAmuletActivatesBeforeDefiant

      public static CompletableFuture<TestResult> testClearAmuletActivatesBeforeDefiant(BattleTestHelper helper)
      A Clear Amulet prevents Defiant from activating. See this YouTube video posted by DarkFE.

      In this test, a Primeape with the Defiant ability that holds a Clear Amulet and knows the move Sleep Talk faces a Staraptor with the Intimidate ability that knows Sleep Talk.

           Before Turn 1
           The Staraptor's Intimidate activates. The Primeape's Clear Amulet activates.
           Turn 1
           Primeape uses Sleep Talk.
           Staraptor uses Sleep Talk.
           -
           We verify that the Primeape's Attack stat did not change.
       
    • testClearAmuletDoesNotActivateIfMagicBounceCan

      public static CompletableFuture<TestResult> testClearAmuletDoesNotActivateIfMagicBounceCan(BattleTestHelper helper)
      A Clear Amulet does not activate if Magic Bounce can activate. See this video posted by DaWoblefet.

      In this test, a Hatterene with the Magic Bounce ability that holds a Clear Amulet and knows the move Sleep Talk faces an Incineroar with the Intimidate ability that knows Parting Shot. The Hatterene also has a Gholdengo on its team to switch with.

           Before Turn 1
           The Incineroar's Intimidate activates. The Hatterene's Clear Amulet activates.
           Turn 1
           Incineroar uses Parting Shot.
           Hatterene uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hatterene's Attack stat did not change.
           We verify that the Incineroar's Attack stat was lowered by one stage.
           We verify that the Incineroar's Special Attack stat was lowered by one stage.
           We verify that the Hatterene is no longer on the battlefield.
           We verify that the Gholdengo is on the battlefield.