java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.ability.IceFaceTests

public class IceFaceTests extends Object
  • Constructor Details

    • IceFaceTests

      public IceFaceTests()
  • Method Details

    • testShouldBlockOnePhysicalMove

      public static CompletableFuture<TestResult> testShouldBlockOnePhysicalMove(BattleTestHelper helper)
      Tests that IceFace does not block special moves, and only 1 physical move, before needing to be reformed. Mewtwo uses WaterGun. IceFace does not break, and does not prevent damage. 56 damage. Mewtwo uses Tackle. IceFace breaks, changing form and preventing extra damage. 56 damage total. Mewtwo uses Tackle. IceFace already broken, does not reduce damage. 56+51=107 damage total. Mewtwo uses Hail. IceFace repairs itself. Mewtwo uses Tackle. IceFace breaks, changing form and preventing extra damage. 107 damage total. Mewtwo uses Tackle. IceFace already broken, does not reform from existing Hail. 158 damage total.
    • doesNotWorkOnTransformedIce

      public static CompletableFuture<TestResult> doesNotWorkOnTransformedIce(BattleTestHelper helper)
      Tests that IceFace does not work on transformed pokemon. Ditto outspeeds, transforms into Eiscue in IceFace form. Eiscue hits with Tackle, 28 damage. Ditto/Eiscue Tackle. IceFace protects Eiscue, Ditto is hit again, 28+28 damage.
    • doesNotWorkOnTransformedNoIce

      public static CompletableFuture<TestResult> doesNotWorkOnTransformedNoIce(BattleTestHelper helper)
      Tests that IceFace does not repair itself on transformed pokemon. Ditto transforms into Eiscue in NoIce form. Eiscue uses Snowscape, starting Snow. Ditto remains in NoIce form, Eiscue changes to IceFace form. Ditto and Eiscue both Tackle. IceFace protects Eiscue, Snow reduces damage to Ditto (27 damage)
    • testShouldNotRepairOnFainted

      public static CompletableFuture<TestResult> testShouldNotRepairOnFainted(BattleTestHelper helper)
      Tests that IceFace does not repair on Hail being placed by a move that KOs the Eiscue Sneasel uses IcePunch. IceFace breaks, changing form and preventing extra damage. Sneasel dynamaxes and uses Max Hailstorm. KOs Eiscue.
    • testOnlyBlocksFirstHit

      public static CompletableFuture<TestResult> testOnlyBlocksFirstHit(BattleTestHelper helper)
      Tests that IceFace does not repair on Hail being placed by a move that KOs the Eiscue Smeargle uses DoubleKick. IceFace breaks on first hit, second hit damages 26hp.
    • testShouldRepairOnSwitchIntoSnow

      public static CompletableFuture<TestResult> testShouldRepairOnSwitchIntoSnow(BattleTestHelper helper)
      Tests that IceFace does repairs on existing Snow on switching in Abomasnow sets Snow with ability SnowWarning, then switches to Eiscue Eiscue's IceFace reforms from switching into Snow, then is broken by Sneasel's Tackle.
    • testShouldRepairAfterSwitchAbilitiesActivate

      public static CompletableFuture<TestResult> testShouldRepairAfterSwitchAbilitiesActivate(BattleTestHelper helper)
      Tests that IceFace repairs after switch abilities trigger Abomasnow sets Snow with ability SnowWarning, then switches to Eiscue. Guzzlord switches to Torkoal after Abomasnow switches, replacing Snow with Sunny before Eiscue's IceFace triggers.