Class SmackDownTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> The Air Balloon still affects a Pokémon that was hit by a Smack Down attack as long as the Smack Down attack did not give the target the Smacked Down status (i.e.static CompletableFuture
<TestResult> If a non-Flying, non-levitating Pokémon is hit by Smack Down first and then later gains levitation through moves like Magnet Rise, it should become immune to Ground-type moves because it was never grounded.static CompletableFuture
<TestResult> If a non-Flying, non-levitating Pokémon is hit by Smack Down first and then later gains levitation through moves like Telekinesis, it should become immune to Ground-type moves because it was never grounded.static CompletableFuture
<TestResult> Smack Down inflicts damage and grounds flying-types.static CompletableFuture
<TestResult> Smack Down inflicts damage, but does not ground non-airborne Pokémon.static CompletableFuture
<TestResult> Smack Down inflicts damage and grounds Pokémon with the Levitate ability.static CompletableFuture
<TestResult> Smack Down can hit Pokémon during the semi-invulnerable turns of Bounce.static CompletableFuture
<TestResult> Smack Down can hit Pokémon during the semi-invulnerable turns of Fly.static CompletableFuture
<TestResult> The effect of Smack Down is not applied if it hits the target's substitute.static CompletableFuture
<TestResult> Smack Down removes the effects of Magnet Rise.static CompletableFuture
<TestResult> Smack Down removes the effects of Telekinesis.static CompletableFuture
<TestResult> The effect of Smack Down is not applied if the target is in the semi-invulnerable turn of Sky Drop.static CompletableFuture
<TestResult> The effect of Smack Down is not applied if the target is in the semi-invulnerable turn of Sky Drop.static CompletableFuture
<TestResult> The effect of Smack Down is not applied if the target is holding an Iron Ball.static CompletableFuture
<TestResult> The effect of Smack Down is not applied if the target is under the effect of Gravity.static CompletableFuture
<TestResult> If a non-Flying, non-levitating Pokémon is hit by Smack Down first and then later becomes semi-invulnerable through a move like Bounce, it should be immune to Ground-type moves that don't hit ungrounded Pokémon.static CompletableFuture
<TestResult> The Air Balloon does not apply if the Pokémon is under the effect of Smack Down.static CompletableFuture
<TestResult> Magnet Rise fails if used by a Pokémon under the effect of Smack Down.static CompletableFuture
<TestResult> The move Telekinesis cannot affect a Pokémon under the effect of Smack Down.
-
Constructor Details
-
SmackDownTests
public SmackDownTests()
-
-
Method Details
-
testSmackDownDealsDamageAndAppliesGroundedToFlyingTypes
public static CompletableFuture<TestResult> testSmackDownDealsDamageAndAppliesGroundedToFlyingTypes(BattleTestHelper helper) Smack Down inflicts damage and grounds flying-types.In this test, a Carracosta that knows the move Smack Down faces a Braviary that knows the move Sleep Talk.
Turn 1 The Braviary uses Sleep Talk. The Carracosta uses Smack Down on the Braviary. - We verify that the Braviary has taken damage. We verify that the Braviary has the SmackedDown status.
-
testSmackDownDealsDamageButDoesNotGroundNonAirborne
public static CompletableFuture<TestResult> testSmackDownDealsDamageButDoesNotGroundNonAirborne(BattleTestHelper helper) Smack Down inflicts damage, but does not ground non-airborne Pokémon.In this test, a Carracosta that knows the move Smack Down faces a Tirtouga that knows the move Sleep Talk.
Turn 1 The Carracosta uses Smack Down on the Tirtouga. The Tirtouga uses Sleep Talk. - We verify that the Tirtouga has taken damage. We verify that the Tirtouga does not have the SmackedDown status.
-
testSmackDownGroundsLevitateAbility
public static CompletableFuture<TestResult> testSmackDownGroundsLevitateAbility(BattleTestHelper helper) Smack Down inflicts damage and grounds Pokémon with the Levitate ability.In this test, a Carracosta that knows the move Smack Down faces a Chimecho with the Levitate ability that knows the move Sleep Talk.
Turn 1 The Chimecho uses Sleep Talk. The Carracosta uses Smack Down on the Chimecho. Turn 2 The Chimecho uses Sleep Talk. The Carracosta uses Mud Shot on the Chimecho. - After Turn 1 We verify that the Chimecho has taken damage. We verify that the Chimecho has the SmackedDown status. We save the current HP of the Chimecho for later. After Turn 2 We verify that the Chimecho has less HP than it had at the end of last turn.
-
testSmackDownRemovesMagnetRise
Smack Down removes the effects of Magnet Rise.In this test, a Carracosta that knows the moves Smack Down and Mud Shot faces a Metang that knows the moves Magnet Rise and Sleep Talk.
Turn 1 The Metang uses Magnet Rise. The Carracosta uses Smack Down on the Metang. Turn 2 The Metang uses Sleep Talk. The Carracosta uses Mud Shot on the Metang. - After Turn 1 We verify that the Metang took damage. We verify that the Metang has the SmackedDown status. We get the amount of HP that the Metang currently has. After Turn 2 We verify that the Metang has less HP than it had at the end of the previous turn.
-
testSmackDownRemovesTelekinesis
public static CompletableFuture<TestResult> testSmackDownRemovesTelekinesis(BattleTestHelper helper) Smack Down removes the effects of Telekinesis.In this Double Battle test, a Carracosta that knows the moves Smack Down and Mud Shot faces a Gothita that knows the moves Telekinesis and Sleep Talk and a Gothorita that knows the move Sleep Talk.
Turn 1 The Gothorita uses Sleep Talk. The Gothita uses Telekinesis. The Carracosta uses Smack Down on the Gothorita. Turn 2 The Gothorita uses Sleep Talk. The Gothita uses Sleep Talk. The Carracosta uses Mud Shot on the Gothorita. - After Turn 1 We verify that the Carracosta doesn't have the Telekinesis status. We verify that the Gothorita doesn't have the Telekinesis status. We verify that the Gothorita took damage. We verify that the Gothorita has the SmackedDown status. We get the amount of HP that the Gothorita currently has. After Turn 2 We verify that the Gothorita has less HP than it had at the end of the previous turn.
-
testSmackDownIsNotAppliedUponHittingSubstitute
public static CompletableFuture<TestResult> testSmackDownIsNotAppliedUponHittingSubstitute(BattleTestHelper helper) The effect of Smack Down is not applied if it hits the target's substitute.In this test, a Carracosta that knows the move Smack Down faces a Braviary that knows the move Substitute.
Turn 1 The Braviary uses Substitute. The Carracosta uses Smack Down on the Braviary. - We verify that the Braviary has taken damage. We verify that the Braviary does not have the SmackedDown status.
-
testSmackDownStatusDoesNotApplyToSkyDroppedTargets
public static CompletableFuture<TestResult> testSmackDownStatusDoesNotApplyToSkyDroppedTargets(BattleTestHelper helper) The effect of Smack Down is not applied if the target is in the semi-invulnerable turn of Sky Drop.In this double battle test, a Carracosta that knows the move Smack Down and a Tirtouga that knows the move Sleep Talk face a Braviary that knows the move Sky Drop.
Turn 1 The Braviary uses Sky Drop on the Tirtouga. The Carracosta uses Smack Down on the Tirtouga. The Tirtouga is unable to use Sleep Talk. - We verify that the Tirtouga has taken damage. We verify that the Tirtouga does not have the SmackedDown status.
-
testSmackDownStatusDoesNotApplyToSkyDroppingTargets
public static CompletableFuture<TestResult> testSmackDownStatusDoesNotApplyToSkyDroppingTargets(BattleTestHelper helper) The effect of Smack Down is not applied if the target is in the semi-invulnerable turn of Sky Drop.In this double battle test, a Carracosta that knows the move Smack Down and a Tirtouga that knows the move Sleep Talk face a Braviary that knows the move Sky Drop.
Turn 1 The Braviary uses Sky Drop on the Tirtouga. The Carracosta uses Smack Down on the Braviary. The Tirtouga is unable to use Sleep Talk. - We verify that the Braviary has taken damage. We verify that the Braviary does not have the SmackedDown status.
-
testSmackDownStatusDoesNotApplyToTargetsHoldingIronBall
public static CompletableFuture<TestResult> testSmackDownStatusDoesNotApplyToTargetsHoldingIronBall(BattleTestHelper helper) The effect of Smack Down is not applied if the target is holding an Iron Ball.In this test, a Carracosta that knows the move Smack Down faces a Braviary that holds an Iron Ball and knows the move Sleep Talk.
Turn 1 The Braviary uses Sleep Talk. The Carracosta uses Smack Down on the Braviary. - We verify that the Braviary has taken damage. We verify that the Braviary does not have the SmackedDown status.
-
testSmackDownStatusDoesNotApplyToTargetsUnderGravity
public static CompletableFuture<TestResult> testSmackDownStatusDoesNotApplyToTargetsUnderGravity(BattleTestHelper helper) The effect of Smack Down is not applied if the target is under the effect of Gravity.In this test, a Carracosta that knows the move Smack Down faces a Sigilyph knows the move Gravity.
Turn 1 The Sigilyph uses Gravity. The Carracosta uses Smack Down on the Sigilyph. - We verify that the Sigilyph has taken damage. We verify that the Sigilyph does not have the SmackedDown status.
-
testSmackDownHitsTargetsInFlyInvulnerability
public static CompletableFuture<TestResult> testSmackDownHitsTargetsInFlyInvulnerability(BattleTestHelper helper) Smack Down can hit Pokémon during the semi-invulnerable turns of Fly. If Smack Down hits a Pokémon that is using Fly, it will knock it down, cancelling the move. A Pokémon under the effect of Smack Down can still use these moves on subsequent turns.In this test, a Carracosta that knows the moves Smack Down and Sleep Talk faces a Naganadel that knows the move Fly.
Turn 1 The Naganadel uses Fly. The Naganadel flies up into the air. The Carracosta uses Smack Down on the Naganadel. Turn 2 The Naganadel uses Fly. The Naganadel flies up into the air. The Carracosta uses Sleep Talk. - After Turn 1 We verify that the Naganadel has taken damage. We verify that the Naganadel has the SmackedDown status. We verify that the Naganadel does not have the MultiTurn status. After Turn 2 We verify that the Carracosta has not taken damage. We verify that the Naganadel has the Flying status. We verify that the Naganadel has the MultiTurn status.
-
testSmackDownHitsTargetsInBounceInvulnerability
public static CompletableFuture<TestResult> testSmackDownHitsTargetsInBounceInvulnerability(BattleTestHelper helper) Smack Down can hit Pokémon during the semi-invulnerable turns of Bounce. If Smack Down hits a Pokémon that is using Bounce, it will knock it down, cancelling the move. A Pokémon under the effect of Smack Down can still use these moves on subsequent turns.In this test, a Carracosta that knows the moves Smack Down and Sleep Talk faces a Diggersby that knows the move Bounce.
Turn 1 The Diggersby uses Bounce. The Diggersby springs up into the air. The Carracosta uses Smack Down on the Diggersby. Turn 2 The Diggersby uses Bounce. The Diggersby springs up into the air. The Carracosta uses Sleep Talk. - After Turn 1 We verify that the Diggersby has taken damage. We verify that the Diggersby has the SmackedDown status. We verify that the Diggersby does not have the MultiTurn status. After Turn 2 We verify that the Carracosta has not taken damage. We verify that the Diggersby has the Flying status. We verify that the Diggersby has the MultiTurn status.
-
testSmackDownButNoStatusAllowsMagnetRiseSuccess
public static CompletableFuture<TestResult> testSmackDownButNoStatusAllowsMagnetRiseSuccess(BattleTestHelper helper) If a non-Flying, non-levitating Pokémon is hit by Smack Down first and then later gains levitation through moves like Magnet Rise, it should become immune to Ground-type moves because it was never grounded.In this test, a Carracosta that knows the moves Smack Down and Mud Shot faces a Metang that knows the moves Magnet Rise and Sleep Talk.
Turn 1 The Metang uses Sleep Talk. The Carracosta uses Smack Down on the Metang. Turn 2 The Metang uses Magnet Rise. The Carracosta uses Mud Shot on the Metang. - After Turn 1 We verify that the Metang took damage. We verify that the Metang does not have the SmackedDown status. We get the amount of HP that the Metang currently has. After Turn 2 We verify that the Metang has the Magnet Rise status. We verify that the Metang has the same HP that it had at the end of the previous turn.
-
testSmackDownButNoStatusAllowsTelekinesisSuccess
public static CompletableFuture<TestResult> testSmackDownButNoStatusAllowsTelekinesisSuccess(BattleTestHelper helper) If a non-Flying, non-levitating Pokémon is hit by Smack Down first and then later gains levitation through moves like Telekinesis, it should become immune to Ground-type moves because it was never grounded.In this Double Battle test, a Tirtouga that knows the moves Smack Down and Mud Shot faces a Gothita that knows the moves Telekinesis and Sleep Talk and a Gothitelle that knows the move Sleep Talk.
Turn 1 The Gothitelle uses Sleep Talk. The Gothita uses Sleep Talk. The Tirtouga uses Smack Down on the Gothitelle. Turn 2 The Gothitelle uses Sleep Talk. The Gothita uses Telekinesis on the Gothitelle. The Tirtouga uses Mud Shot on the Gothitelle. - After Turn 1 We verify that the Gothitelle took damage. We verify that the Gothitelle does not have the SmackedDown status. We get the amount of HP that the Gothitelle currently has. After Turn 2 We verify that the Gothitelle has the Telekinesis status. We verify that the Gothitelle does not have the SmackedDown status. We verify that the Gothitelle has the same HP that it had at the end of the previous turn.
-
testSmackedDownDoesNotPreventBounce
public static CompletableFuture<TestResult> testSmackedDownDoesNotPreventBounce(BattleTestHelper helper) If a non-Flying, non-levitating Pokémon is hit by Smack Down first and then later becomes semi-invulnerable through a move like Bounce, it should be immune to Ground-type moves that don't hit ungrounded Pokémon.In this test, a Carracosta that knows the moves Smack Down and Mud Shot faces a Diggersby that knows the move Bounce.
Turn 1 The Diggersby uses Bounce. The Diggersby rises up into the air. The Carracosta uses Smack Down on the Diggersby. The Diggersby is knocked down to the ground. Turn 2 The Diggersby uses Bounce. The Diggersby rises up into the air. The Carracosta uses Mud Shot on the Diggersby. - After Turn 1 We verify that the Diggersby took damage. We verify that the Diggersby has the SmackedDown status. We get the amount of HP that the Diggersby currently has. After Turn 2 We verify that the Diggersby has the Flying status. We verify that the Diggersby has the same HP that it had at the end of the previous turn.
-
testSmackDownButNoStatusAllowsAirBalloonSuccess
public static CompletableFuture<TestResult> testSmackDownButNoStatusAllowsAirBalloonSuccess(BattleTestHelper helper) The Air Balloon still affects a Pokémon that was hit by a Smack Down attack as long as the Smack Down attack did not give the target the Smacked Down status (i.e. ground the target).In this Double Battle test, a Carracosta that knows the moves Smack Down and Mud Shot faces a Metang that holds a Kee Berry and knows Sleep Talk and an Oranguru with the Symbiosis ability that holds an Air Balloon and knows Sleep Talk.
Turn 1 The Oranguru uses Sleep Talk. The Metang uses Sleep Talk. The Carracosta uses Smack Down on the Metang. Turn 2 The Oranguru uses Sleep Talk. The Metang uses Sleep Talk. The Carracosta uses Mud Shot on the Metang. - After Turn 1 We verify that the Metang took damage. We verify that the Metang is holding an Air Balloon. We verify that the Metang does not have the SmackedDown status. We get the amount of HP that the Metang currently has. After Turn 2 We verify that the Metang has the same HP that it had at the end of the previous turn.
-
testSmackedDownStatusMakesMagnetRiseFail
public static CompletableFuture<TestResult> testSmackedDownStatusMakesMagnetRiseFail(BattleTestHelper helper) Magnet Rise fails if used by a Pokémon under the effect of Smack Down.In this test, a Carracosta that knows the moves Smack Down and Mud Shot faces a Metang that knows the move Magnet Rise.
Turn 1 The Metang uses Magnet Rise. The Carracosta uses Smack Down on the Metang. The Metang receives the Smacked Down status. Turn 2 The Metang uses Magnet Rise. The move fails. The Carracosta uses Mud Shot on the Metang. - After Turn 1 We verify that the Metang took damage. We verify that the Metang has the SmackedDown status. We get the amount of HP that the Metang currently has. After Turn 2 We verify that the Metang does not have the Magnet Rise status. We verify that the Metang has less HP than it had at the end of the previous turn.
-
testSmackedDownStatusMakesTelekinesisFail
public static CompletableFuture<TestResult> testSmackedDownStatusMakesTelekinesisFail(BattleTestHelper helper) The move Telekinesis cannot affect a Pokémon under the effect of Smack Down.In this Double Battle test, a Tirtouga that knows the moves Smack Down and Mud Shot faces a Gothita that knows the move Telekinesis and a Gothitelle that knows the move Sleep Talk.
Turn 1 The Gothitelle uses Sleep Talk. The Gothita uses Telekinesis on the Gothitelle. The Gothitelle becomes airborne. The Tirtouga uses Smack Down on the Gothitelle. The Gothitelle becomes grounded. Turn 2 The Gothitelle uses Sleep Talk. The Gothita uses Telekinesis on the Gothitelle. The move fails. The Tirtouga uses Mud Shot on the Gothitelle. - After Turn 1 We verify that the Gothitelle took damage. We verify that the Gothitelle does not have the Telekinesis status. We verify that the Gothitelle has the SmackedDown status. We get the amount of HP that the Gothitelle currently has. After Turn 2 We verify that the Gothitelle does not have the Telekinesis status. We verify that the Gothitelle has the SmackedDown status. We verify that the Gothitelle has less HP than it had at the end of the previous turn.
-
testSmackedDownStatusMakesAirBalloonFail
public static CompletableFuture<TestResult> testSmackedDownStatusMakesAirBalloonFail(BattleTestHelper helper) The Air Balloon does not apply if the Pokémon is under the effect of Smack Down.In this Double Battle test, a Carracosta that knows the moves Smack Down and Mud Shot faces a Metang that holds an Air Balloon and knows Sleep Talk and an Oranguru with the Symbiosis ability that holds an Air Balloon and knows Sleep Talk.
Turn 1 The Oranguru uses Sleep Talk. The Metang uses Sleep Talk. The Carracosta uses Smack Down on the Metang. The Metang's Air Balloon pops. The Oranguru passes its Air Balloon to the Metang. Turn 2 The Oranguru uses Sleep Talk. The Metang uses Sleep Talk. The Carracosta uses Mud Shot on the Metang. - After Turn 1 We verify that the Metang took damage. We verify that the Metang is holding an Air Balloon. We verify that the Oranguru does not have a held item. We verify that the Metang has the SmackedDown status. We verify that the Metang is not airborne. We get the amount of HP that the Metang currently has. After Turn 2 We verify that the Metang is not airborne. We verify that the Metang does not have a held item. We verify that the Metang has the same HP that it had at the end of the previous turn.
-