Class AbilityShieldTests

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

public class AbilityShieldTests extends Object
  • Constructor Details

    • AbilityShieldTests

      public AbilityShieldTests()
  • Method Details

    • testShouldProtectHoldersAbilityFromAbilityChangingMoves

      public static CompletableFuture<TestResult> testShouldProtectHoldersAbilityFromAbilityChangingMoves(BattleTestHelper helper)
      Meowscarada uses WorrySeed attempting to change Wynaut's ability to Insomnia, but AbilityShield blocks the change. Wynaut Splashes.
    • testShouldProtectHoldersAbilityFromAbilityChangingAbilities

      public static CompletableFuture<TestResult> testShouldProtectHoldersAbilityFromAbilityChangingAbilities(BattleTestHelper helper)
      Meowscarada Splashes. Wynaut Tackles Meowskarada, but AbilityShield blocks Mummy overwriting Wynaut's ability.
    • testShouldOnlyProtectHoldersAbility

      public static CompletableFuture<TestResult> testShouldOnlyProtectHoldersAbility(BattleTestHelper helper)
      Meowscarada Tackles Wynaut, triggering Mummy to replace Protean. Wynaut Splashes.
    • testShouldProtectAgainstNeutralizingGas

      public static CompletableFuture<TestResult> testShouldProtectAgainstNeutralizingGas(BattleTestHelper helper)
      Meowskarada activates Neutralizing Gas, but Wynaut's AbilityShield protects its Sturdy. Meowscarada uses FlowerTrick, but Wynaut is saved by Sturdy. Wyanut Splashes.
    • testShouldProtectAgainstMoldBreaker

      public static CompletableFuture<TestResult> testShouldProtectAgainstMoldBreaker(BattleTestHelper helper)
      Meowscarada uses FlowerTrick, but its MoldBreaker is silently blocked by AbilityShield. Wynaut is saved by Sturdy. Wyanut Splashes. Wynaut switches to Gastly. Meowscarada uses EarthPower, but Gastly avoids it via Levitate.
    • testShouldProtectAgainstNewGastroAcid

      public static CompletableFuture<TestResult> testShouldProtectAgainstNewGastroAcid(BattleTestHelper helper)
      Meowscarada uses GastroAcid, but Wynaut's AbilityShield blocks it. Wynaut Splashes. Meowscarada uses FlowerTrick. Wynaut is saved by Sturdy.
    • testShouldNotProtectAgainstExistingGastroAcid

      public static CompletableFuture<TestResult> testShouldNotProtectAgainstExistingGastroAcid(BattleTestHelper helper)
      Meowscarada uses GastroAcid, nullifying Wynaut's Sturdy. Wynaut uses Trick, stealing Meowscarada's AbilityShield. Meowscarada uses FlowerTrick. Wynaut faints.
    • testShouldProtectAgainstExistingNeutralizingGas

      public static CompletableFuture<TestResult> testShouldProtectAgainstExistingNeutralizingGas(BattleTestHelper helper)
      Meowskarada activates NeutralizingGas. Meowscarada Tricks AbilityShield onto Wynaut. Wynaut Splashes. Meowscarada uses FlowerTrick, Wynaut's Sturdy saves it. Wynaut Splashes.
    • testShouldNotTriggerSwitchInAbilitiesAgainstExistingNeutralizingGas

      public static CompletableFuture<TestResult> testShouldNotTriggerSwitchInAbilitiesAgainstExistingNeutralizingGas(BattleTestHelper helper)
      Meowskarada activates NeutralizingGas, nullifying Wynaut's Intimidate. Meowscarada Tricks AbilityShield onto Wynaut, but Intimidate does not trigger. Wynaut Splashes. Meowskarada Splashes. Wynaut uses GastroAcid, nullifying NeutralizingGas, and Wynaut's Intimidate triggers.
    • testShouldNotBeSuppressedByKlutz

      public static CompletableFuture<TestResult> testShouldNotBeSuppressedByKlutz(BattleTestHelper helper)
      Meowscarada Splashes. Wynaut Tackles Meowskarada, but AbilityShield blocks Mummy overwriting Wynaut's ability.
    • testShouldProtectAbilitiesFromSkillSwap

      public static CompletableFuture<TestResult> testShouldProtectAbilitiesFromSkillSwap(BattleTestHelper helper)
      Meowscarada uses SkillSwap attempting to exchange abilities with Wynaut, but Wynaut's AbilityShield blocks the swap. Wynaut Splashes.
    • testShouldProtectAbilitiesFromSkillSwapEvenWhenUsedByHolder

      public static CompletableFuture<TestResult> testShouldProtectAbilitiesFromSkillSwapEvenWhenUsedByHolder(BattleTestHelper helper)
      Meowscarada uses SkillSwap attempting to exchange abilities with Wynaut, but Meowscarada's AbilityShield blocks the swap. Wynaut Splashes.
    • testShouldPreventTraceChangingAbilityEvenAfterLosingIt

      public static CompletableFuture<TestResult> testShouldPreventTraceChangingAbilityEvenAfterLosingIt(BattleTestHelper helper)
      Meowskarada attempts to Trace Wynaut's Levitate, but is blocked by Meowscarada's AbilityShield. Both pokemon use EarthPower, only Wynaut is safe.
    • testShouldPreventTraceChangingAbility

      public static CompletableFuture<TestResult> testShouldPreventTraceChangingAbility(BattleTestHelper helper)
      Meowskarada attempts to Trace Wynaut's Levitate, but is blocked by Meowscarada's AbilityShield. Both pokemon use EarthPower, only Wynaut is safe.
    • testShouldNotPreventHoldersAbilityChangingFromImposter

      public static CompletableFuture<TestResult> testShouldNotPreventHoldersAbilityChangingFromImposter(BattleTestHelper helper)
      Wynaut enters the battlefield, transforming into Meowscarada. AbilityShield does nothing.
    • testShouldNotPreventHoldersAbilityChangingFromFormChanges

      public static CompletableFuture<TestResult> testShouldNotPreventHoldersAbilityChangingFromFormChanges(BattleTestHelper helper)
      Rayquaza mega-evolves, changing its ability from AirLock to DeltaStream. Both pokemon Splash.