Class FlyingPressTests

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

public class FlyingPressTests extends Object
Tests for Flying Press
  • Constructor Details

    • FlyingPressTests

      public FlyingPressTests()
  • Method Details

    • testFlyingPressDoesNotGiveSTABToFlyingTypes

      public static CompletableFuture<TestResult> testFlyingPressDoesNotGiveSTABToFlyingTypes(BattleTestHelper helper)
      Only Fighting-type Pokémon can receive the same-type attack bonus (STAB) from Flying Press.

      In this Double Battle test, a Ho-Oh that (illegally) knows the move Flying Press is on the same team as an Iron Valiant that (illegally) knows Flying Press. They face two Deoxys in Defense forme that both know Sleep Talk.

           Turn 1
           The Ho-Oh uses Flying Press on the first Defense-forme Deoxys.
           The Iron Valiant uses Flying Press on the second Defense-form Deoxys.
           Both Deoxys use Sleep Talk.
           -
           After Turn 1
           We verify that the Deoxys attacked by the Flying-type Ho-Oh did not receive an equal amount of damage to the Deoxys attacked by the Fighting-type Iron Valiant.
       
    • testFlyingPressUnaffectedBySkyPlate

      public static CompletableFuture<TestResult> testFlyingPressUnaffectedBySkyPlate(BattleTestHelper helper)
      Flying Press is unaffected by items such as the Sky Plate.

      In this Double Battle test, a Hawlucha that holds a Sky Plate and knows Flying Press is on the same team as another Hawlucha that does not hold an item and knows Flying Press. They face two Deoxys in Defense forme that both know Sleep Talk.

           Turn 1
           The Sky Plate-holding Hawlucha uses Flying Press on the first Defense-forme Deoxys.
           The Hawlucha with no item uses Flying Press on the second Defense-form Deoxys.
           Both Deoxys use Sleep Talk.
           -
           After Turn 1
           We verify that the Deoxys attacked by the Sky Plate-holding Hawlucha did not receive more damage than the Deoxys attacked by the Hawlucha without an item.
       
    • testFlyingPressUnaffectedByFlyingGem

      public static CompletableFuture<TestResult> testFlyingPressUnaffectedByFlyingGem(BattleTestHelper helper)
      Flying Press is unaffected by items such as the Flying Gem.

      In this Double Battle test, a Hawlucha that holds a Flying Gem and knows Flying Press is on the same team as another Hawlucha that does not hold an item and knows Flying Press. They face two Deoxys in Defense forme that both know Sleep Talk.

           Turn 1
           The Flying Gem-holding Hawlucha uses Flying Press on the first Defense-forme Deoxys.
           The Hawlucha with no item uses Flying Press on the second Defense-form Deoxys.
           Both Deoxys use Sleep Talk.
           -
           After Turn 1
           We verify that the Deoxys attacked by the Flying Gem-holding Hawlucha did not receive more damage than the Deoxys attacked by the Hawlucha without an item.
       
    • testFlyingPressSuperEffectiveFlyingDoesNotActivateCobaBerries

      public static CompletableFuture<TestResult> testFlyingPressSuperEffectiveFlyingDoesNotActivateCobaBerries(BattleTestHelper helper)
      Flying Press will not activate the target's Coba Berry.

      In this Single Battle test, a Hawlucha that knows Flying Press faces a Shaymin that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press on the Shaymin.
           The Shaymin uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press dealt super-effective damage.
           We verify that the Shaymin is holding a Coba Berry.
           We verify that the Shaymin's consumed item is not a Coba Berry.
       
    • testFlyingPressSuperEffectiveFightingDoesNotActivateCobaBerries

      public static CompletableFuture<TestResult> testFlyingPressSuperEffectiveFightingDoesNotActivateCobaBerries(BattleTestHelper helper)
      Flying Press will not activate the target's Coba Berry.

      In this Single Battle test, a Hawlucha that knows Flying Press faces a Stoutland that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press on the Stoutland.
           The Stoutland uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press dealt super-effective damage.
           We verify that the Stoutland is holding a Coba Berry.
           We verify that the Stoutland's consumed item is not a Coba Berry.
       
    • testFlyingPressAgainstMinimizedTarget

      public static CompletableFuture<TestResult> testFlyingPressAgainstMinimizedTarget(BattleTestHelper helper)
      If the target has used Minimize, Flying Press deals double its regular damage and bypasses accuracy checks to always hit.

      In this Double Battle test, two Hawlucha are on a team and both know Sleep Talk and Flying Press. They face two Overqwil, one that know Sleep Talk and one that knows Minimize.

           Turn 1
           The Hawlucha both use Sleep Talk.
           The first Overqwil uses Sleep Talk.
           The second Overqwil uses Minimize.
           Turn 2
           The first Hawlucha uses Flying Press on the Overqwil that used Sleep Talk.
           The second Hawlucha uses Flying Press on the Overqwil that used Minimize.
           The Overqwil use Sleep Talk and Minimize.
           -
           After Turn 2
           We verify that the second Hawlucha's Flying Press could not miss the Overqwil that used Minimize.
           We verify that the second Overqwil that used Minimize took more damage than the first Overqwil that used Sleep Talk.
       
    • testFlyingPressAgainstMinimizedTargetThatIsSemiInvulnerable

      public static CompletableFuture<TestResult> testFlyingPressAgainstMinimizedTargetThatIsSemiInvulnerable(BattleTestHelper helper)
      If the target has used Minimize, Flying Press deals double its regular damage and bypasses accuracy checks to always hit, unless the target is in the semi-invulnerable turn of a move such as Dig or Fly.

      In this Double Battle test, two Hawlucha are on a team and both know Sleep Talk and Flying Press. They face two Sandaconda, one that knows Sleep Talk and Dig and one that knows Minimize and Dig.

           Turn 1
           The Hawlucha both use Sleep Talk.
           The first Sandaconda uses Sleep Talk.
           The second Sandaconda uses Minimize.
           Turn 2
           The Hawlucha both use Sleep Talk.
           The Sandaconda both use Dig. The become semi-invulnerable.
           Turn 3
           The first Hawlucha uses Flying Press on the Sandaconda that used Sleep Talk.
           The second Hawlucha uses Flying Press on the Sandaconda that used Minimize.
           The Sandaconda both use Dig.
           -
           After Turn 3
           We verify that neither of the Sandaconda took damage.
       
    • testFlyingPressFailsInGravityHawlucha

      public static CompletableFuture<TestResult> testFlyingPressFailsInGravityHawlucha(BattleTestHelper helper)
      Flying Press cannot be used while Gravity is in effect.

      In this test, a Hawlucha that knows Flying Press faces a Deoxys that knows Gravity.

           Turn 1
           The Deoxys uses Gravity.
           The Hawlucha uses Flying Press.
           -
           After Turn 1
           We verify that the Deoxys took no damage.
           We verify that the Hawlucha's attack failed.
       
    • testFlyingPressFailsInGravityPikachuLibre

      public static CompletableFuture<TestResult> testFlyingPressFailsInGravityPikachuLibre(BattleTestHelper helper)
      Flying Press cannot be used while Gravity is in effect.

      In this test, a Pikachu that knows Flying Press faces a Deoxys that knows Gravity.

           Turn 1
           The Deoxys uses Gravity.
           The Pikachu uses Flying Press.
           -
           After Turn 1
           We verify that the Deoxys took no damage.
           We verify that the Pikachu's attack failed.
       
    • testFlyingPressVsNormalType

      public static CompletableFuture<TestResult> testFlyingPressVsNormalType(BattleTestHelper helper)
      Flying Press is super effective against Normal-types.

      In this test, a Hawlucha that knows Flying Press faces a Lickilicky that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press.
           The Lickilicky uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press was super effective.
       
    • testFlyingPressVsGrassType

      public static CompletableFuture<TestResult> testFlyingPressVsGrassType(BattleTestHelper helper)
      Flying Press is super effective against Grass-types.

      In this test, a Hawlucha that knows Flying Press faces a Leafeon that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press.
           The Leafeon uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press was super effective.
       
    • testFlyingPressVsIceType

      public static CompletableFuture<TestResult> testFlyingPressVsIceType(BattleTestHelper helper)
      Flying Press is super effective against Ice-types.

      In this test, a Hawlucha that knows Flying Press faces a Cetitan that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press.
           The Cetitan uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press was super effective.
       
    • testFlyingPressVsFightingType

      public static CompletableFuture<TestResult> testFlyingPressVsFightingType(BattleTestHelper helper)
      Flying Press is super effective against Fighting-types.

      In this test, a Hawlucha that knows Flying Press faces a Gurdurr that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press.
           The Gurdurr uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press was super effective.
       
    • testFlyingPressVsDarkType

      public static CompletableFuture<TestResult> testFlyingPressVsDarkType(BattleTestHelper helper)
      Flying Press is super effective against Dark-types.

      In this test, a Hawlucha that knows Flying Press faces a Maschiff that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press.
           The Maschiff uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press was super effective.
       
    • testFlyingPressVsElectricType

      public static CompletableFuture<TestResult> testFlyingPressVsElectricType(BattleTestHelper helper)
      Flying Press is not very effective against Electric-types.

      In this test, a Hawlucha that knows Flying Press faces a Bellibolt that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press.
           The Bellibolt uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press was not very effective.
       
    • testFlyingPressVsPoisonType

      public static CompletableFuture<TestResult> testFlyingPressVsPoisonType(BattleTestHelper helper)
      Flying Press is not very effective against Poison-types.

      In this test, a Hawlucha that knows Flying Press faces a Swalot that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press.
           The Swalot uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press was not very effective.
       
    • testFlyingPressVsFlyingType

      public static CompletableFuture<TestResult> testFlyingPressVsFlyingType(BattleTestHelper helper)
      Flying Press is not very effective against Flying-types.

      In this test, a Hawlucha that knows Flying Press faces a Rookidee that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press.
           The Rookidee uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press was not very effective.
       
    • testFlyingPressVsPsychicType

      public static CompletableFuture<TestResult> testFlyingPressVsPsychicType(BattleTestHelper helper)
      Flying Press is not very effective against Psychic-types.

      In this test, a Hawlucha that knows Flying Press faces a Cosmoem that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press.
           The Cosmoem uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press was not very effective.
       
    • testFlyingPressVsFairyType

      public static CompletableFuture<TestResult> testFlyingPressVsFairyType(BattleTestHelper helper)
      Flying Press is not very effective against Fairy-types.

      In this test, a Hawlucha that knows Flying Press faces a Dachsbun that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press.
           The Dachsbun uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press was not very effective.
       
    • testFlyingPressVsGhostType

      public static CompletableFuture<TestResult> testFlyingPressVsGhostType(BattleTestHelper helper)
      Flying Press has no effect against Ghost-types.

      In this test, a Hawlucha that knows Flying Press faces a Greavard that knows Sleep Talk.

           Turn 1
           The Hawlucha uses Flying Press.
           The Greavard uses Sleep Talk.
           -
           After Turn 1
           We verify that the Hawlucha's Flying Press had no effect.