Class PowerHerbTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> If the holder uses a move that has a charging turn (except Sky Drop), immediately after charging the move the user consumes the Power Herb and executes the final stage of the move.static CompletableFuture
<TestResult> If a Pokémon uses Solar Beam or Solar Blade during harsh sunlight, it will not consume its held Power Herb.static CompletableFuture
<TestResult> If a Pokémon uses Electro Shot during rain, it will not consume its held Power Herb.static CompletableFuture
<TestResult> If the holder uses a move that has a charging turn (except Sky Drop), immediately after charging the move the user consumes the Power Herb and executes the final stage of the move.static CompletableFuture
<TestResult> Because the charging stage is still performed when a Power Herb is used, the Special Attack boost from Electro Shot is still applied.static CompletableFuture
<TestResult> Because the charging stage is still performed when a Power Herb is used, the Special Attack boost from Meteor Beam is still applied.static CompletableFuture
<TestResult> Because the charging stage is still performed when a Power Herb is used, the Defense boost from Skull Bash is still applied.
-
Constructor Details
-
PowerHerbTests
public PowerHerbTests()
-
-
Method Details
-
testPowerHerbMakesChargingMovesOneTurn
public static CompletableFuture<TestResult> testPowerHerbMakesChargingMovesOneTurn(BattleTestHelper helper) If the holder uses a move that has a charging turn (except Sky Drop), immediately after charging the move the user consumes the Power Herb and executes the final stage of the move.In this test, a Fomantis that holds a Power Herb and knows the move Solar Beam faces a Roggenrola with the Sturdy ability that knows the move Sleep Talk.
Turn 1 The Fomantis uses Solar Beam. The Fomantis charges its Solar Beam. The Fomantis consumes its Power Herb and attacks with Solar Beam. The Roggenrola uses Sleep Talk. - We verify that the Fomantis does not have a held item. We verify that the Fomantis' consumed item is a Power Herb. We verify that the Roggenrola is not at full health.
-
testPowerHerbDoesNotWorkOnSkyDrop
public static CompletableFuture<TestResult> testPowerHerbDoesNotWorkOnSkyDrop(BattleTestHelper helper) If the holder uses a move that has a charging turn (except Sky Drop), immediately after charging the move the user consumes the Power Herb and executes the final stage of the move.In this test, a Hawlucha that holds a Power Herb and knows the move Sky Drop faces a Roggenrola with the Sturdy ability that knows the move Sleep Talk.
Turn 1 The Hawlucha uses Sky Drop. The Roggenrola is brought up into the air. The Roggenrola uses Sleep Talk. - We verify that the Hawlucha has a held item. We verify that the Hawlucha does not have a consumed item. We verify that the Roggenrola is at full health.
-
testPowerHerbStillAllowsSkullBashDefenseBoostToApply
public static CompletableFuture<TestResult> testPowerHerbStillAllowsSkullBashDefenseBoostToApply(BattleTestHelper helper) Because the charging stage is still performed when a Power Herb is used, the Defense boost from Skull Bash is still applied.In this test, a Seaking that holds a Power Herb and knows the move Skull Bash faces a Roggenrola with the Sturdy ability that knows the move Sleep Talk.
Turn 1 The Seaking uses Skull Bash. The Seaking charges its Skull Bash. The Seaking raises its Defense by one stage. The Seaking consumes its Power Herb and attacks with Skull Bash. The Roggenrola uses Sleep Talk. - We verify that the Seaking does not have a held item. We verify that the Seaking' consumed item is a Power Herb. We verify that the Roggenrola is not at full health. We verify that the Seaking had its Defense raised by one stage.
-
testPowerHerbStillAllowsMeteorBeamSpecialAttackBoostToApply
public static CompletableFuture<TestResult> testPowerHerbStillAllowsMeteorBeamSpecialAttackBoostToApply(BattleTestHelper helper) Because the charging stage is still performed when a Power Herb is used, the Special Attack boost from Meteor Beam is still applied.In this test, a Tyrantrum that holds a Power Herb and knows the move Meteor Beam faces a Roggenrola with the Sturdy ability that knows the move Sleep Talk.
Turn 1 The Tyrantrum uses Meteor Beam. The Tyrantrum charges its Meteor Beam. The Tyrantrum raises its Special Attack by one stage. The Tyrantrum consumes its Power Herb and attacks with Meteor Beam. The Roggenrola uses Sleep Talk. - We verify that the Tyrantrum does not have a held item. We verify that the Tyrantrum's consumed item is a Power Herb. We verify that the Roggenrola is not at full health. We verify that the Tyrantrum had its Special Attack raised by one stage.
-
testPowerHerbStillAllowsElectroShotSpecialAttackBoostToApply
public static CompletableFuture<TestResult> testPowerHerbStillAllowsElectroShotSpecialAttackBoostToApply(BattleTestHelper helper) Because the charging stage is still performed when a Power Herb is used, the Special Attack boost from Electro Shot is still applied.In this test, a Archaludon that holds a Power Herb and knows the move Electro Shot faces a Roggenrola with the Sturdy ability that knows the move Sleep Talk.
Turn 1 The Archaludon uses Electro Shot. The Archaludon charges its Electro Shot. The Archaludon raises its Special Attack by one stage. The Archaludon consumes its Power Herb and attacks with Electro Shot. The Roggenrola uses Sleep Talk. - We verify that the Archaludon does not have a held item. We verify that the Archaludon's consumed item is a Power Herb. We verify that the Roggenrola is not at full health. We verify that the Archaludon had its Special Attack raised by one stage.
-
testPowerHerbIsNotConsumedIfChargingFinishesDueToHarshSunlight
public static CompletableFuture<TestResult> testPowerHerbIsNotConsumedIfChargingFinishesDueToHarshSunlight(BattleTestHelper helper) If a Pokémon uses Solar Beam or Solar Blade during harsh sunlight, it will not consume its held Power Herb.In this test, a Lurantis that holds a Power Herb and knows the move Solar Blade faces a Groudon that holds a Focus Sash and knows the move Sleep Talk.
Before Turn 1 The Groudon's Drought activates and changes the weather to harsh sunlight. Turn 1 The Lurantis uses Solar Blade. The Lurantis charges its Solar Blade. The harsh sunlight allows the Lurantis to immediately attack after charging. The Groudon uses Sleep Talk. - We verify that the Lurantis has a held item. We verify that the Lurantis' has not consumed an item. We verify that the Groudon is not at full health.
-
testPowerHerbIsNotConsumedIfChargingFinishesDueToRain
public static CompletableFuture<TestResult> testPowerHerbIsNotConsumedIfChargingFinishesDueToRain(BattleTestHelper helper) If a Pokémon uses Electro Shot during rain, it will not consume its held Power Herb.In this test, a Archaludon that holds a Power Herb and knows the move Electro Shot faces a Kyogre that holds a Focus Sash and knows the move Sleep Talk.
Turn 1 The Archaludon uses Electro Shot. The Archaludon charges its Electro Shot. The Archaludon raises its Special Attack by one stage. The rain allows the Archaludon to immediately attack after charging. The Kyogre uses Sleep Talk. - We verify that the Lurantis has a held item. We verify that the Lurantis' has not consumed an item. We verify that the Kyogre is not at full health.
-