Class SteelBeamTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult> testSteelBeam(BattleTestHelper helper) Steel Beam inflicts damage, and the user takes damage equal to half of its maximum HP rounded upstatic CompletableFuture<TestResult> testSteelBeamVsDig(BattleTestHelper helper) The user of Steel Beam will take damage even if the move misses.static CompletableFuture<TestResult> If Steel Beam fails due to there being no targets (i.e.static CompletableFuture<TestResult> The user of Steel Beam will take damage even if the target is protected from it.static CompletableFuture<TestResult> The user of Steel Beam will take damage even if it hits a substitute.static CompletableFuture<TestResult> Steel Beam inflicts damage, and the user takes damage equal to half of its maximum HP rounded up (unless it has Magic Guard).static CompletableFuture<TestResult> Reckless does not increase the power of Steel Beam.static CompletableFuture<TestResult> Rock Head does not prevent the damage taken from using Steel Beam.
-
Constructor Details
-
SteelBeamTests
public SteelBeamTests()
-
-
Method Details
-
testSteelBeam
Steel Beam inflicts damage, and the user takes damage equal to half of its maximum HP rounded upIn this test, a Magnemite that knows Steel Beam faces a Steelix that knows Sleep Talk.
Turn 1 The Magnemite uses Steel Beam. The Steelix uses Sleep Talk. - After Turn 1 We verify that the Steelix took damage. We verify that the Magnemite took damage equal to half of its maximum HP rounded up. -
testSteelBeamWithMagicGuard
Steel Beam inflicts damage, and the user takes damage equal to half of its maximum HP rounded up (unless it has Magic Guard).In this test, a Duosion with the Magic Guard ability that knows Steel Beam faces an Iron Treads that knows Sleep Talk.
Turn 1 The Iron Treads uses Sleep Talk. The Duosion uses Steel Beam. - After Turn 1 We verify that the Iron Treads took damage. We verify that the Duosion did not take any damage. -
testSteelBeamVsProtect
The user of Steel Beam will take damage even if the target is protected from it.In this test, a Beldum that knows Steel Beam faces a Skarmory that knows Protect.
Turn 1 The Skarmory uses Protect. The Beldum uses Steel Beam. - After Turn 1 We verify that the Skarmory did not take any damage. We verify that the Beldum took damage equal to half of its maximum HP rounded up. -
testSteelBeamVsSubstitute
The user of Steel Beam will take damage even if it hits a substitute.In this test, a Bronzor that knows Steel Beam faces a Bastiodon that knows Substitute.
Turn 1 The Bastiodon uses Substitute. The Bronzor uses Steel Beam. - After Turn 1 We verify that the Bastiodon still has a substitute. We verify that the Bronzor took damage equal to half of its maximum HP rounded up. -
testSteelBeamVsDig
The user of Steel Beam will take damage even if the move misses.In this test, a Pawniard that knows Steel Beam faces a Durant that knows Dig.
Turn 1 The Durant uses Dig. The Durant goes underground. The Pawniard uses Steel Beam. - After Turn 1 We verify that the Durant has the Underground status. We verify that the Pawniard took damage equal to half of its maximum HP rounded up. -
testSteelBeamVsNoTarget
If Steel Beam fails due to there being no targets (i.e. if all Pokémon in range fainted before the move was used), the user does not take damage.In this Single Battle test, a Shieldon that knows Stealth Rock and Steel Beam faces a Klang that knows Sleep Talk and a Klink that knows Sleep Talk. The Klink is at 5% HP.
Turn 1 The Klang uses Sleep Talk. The Shieldon uses Stealth Rock. Turn 2 The Klang is switched out and the Klink switches in. The Klink takes damage from the Stealth Rock and faints. The Shieldon uses Steel Beam. - After Turn 1 We verify that the Klang has the Stealth Rock status. After Turn 2 We verify that the Klink has fainted. We verify that the Shieldon's Steel Beam did not do any damage. We verify that the Shieldon has not taken damage. -
testSteelBeamWithRockHead
Rock Head does not prevent the damage taken from using Steel Beam.In this test, a Lairon with the Rock Head ability that knows Steel Beam faces a Klinklang that knows Sleep Talk.
Turn 1 The Klinklang uses Sleep Talk. The Lairon uses Steel Beam. - After Turn 1 We verify that the Klinklang took damage. We verify that the Lairon took damage equal to half of its maximum HP rounded up. -
testSteelBeamWithReckless
Reckless does not increase the power of Steel Beam.In this Double Battle test, a Rhyhorn with the Reckless ability that knows Steel Beam is on a team with a Rhyhorn that has the Lightning Rod ability and knows Steel Beam. Together they face two Probopass that know Sleep Talk. Rhyhorn can not learn Steel Beam through normal means.
Turn 1 The Probopass uses Sleep Talk. The Rhyhorn uses Steel Beam. - After Turn 1 We verify that both Probopass took damage. We verify that the Probopass took the same amount of damage.
-