Class WhiteHerbTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult> A White Herb should activate after all instances of Intimidate have activated, no matter if multiple Intimidates activate at the start of the turn or after fainted Pixelmon are replaced.static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> White Herb should not restore the stats of an opponent.static CompletableFuture<TestResult> If a Pokémon with Weak Armor is hit by Fling using a White Herb, the White Herb's effect will be applied before Weak Armor lowers its Defense.static CompletableFuture<TestResult> If a Pokémon with Weak Armor is hit by Knock Off, Thief, Covet, or a physical move from a Pokémon with Magician, its held White Herb will be knocked off or stolen before it has a chance to activate.static CompletableFuture<TestResult> If a Pokémon with Weak Armor is hit by Knock Off, Thief, Covet, or a physical move from a Pokémon with Magician, its held White Herb will be knocked off or stolen before it has a chance to activate.static CompletableFuture<TestResult> If a Pokémon uses a contact move that lowers its own stats (such as Superpower) on a Pokémon with Pickpocket, its held White Herb will be stolen before it has a chance to activate.static CompletableFuture<TestResult> If a Pokémon holding a White Herb activates multiple Pokémon's Tangling Hair or Gooey, it will not consume its White Herb until all of the Abilities have activated for that attack.static CompletableFuture<TestResult> If the Pokémon with Competitive is holding a White Herb, Competitive will trigger before the White Herb, so the user will receive the Special Attack boost and then the lowered stat will be restored.static CompletableFuture<TestResult> If the Pokémon with Competitive is holding a White Herb, Competitive will trigger before the White Herb, so the user will receive the Special Attack boost and then the lowered stat will be restored; if the same stat boosted by the Ability is lowered, the White Herb never has a chance to activate.static CompletableFuture<TestResult> If the Pokémon with Defiant is holding a White Herb, Defiant will trigger before the White Herb, so the user will receive the Attack boost and then the lowered stat will be restored.static CompletableFuture<TestResult> If the Pokémon with Defiant is holding a White Herb, Defiant will trigger before the White Herb, so the user will receive the Attack boost and then the lowered stat will be restored; if the same stat boosted by the Ability is lowered, the White Herb never has a chance to activate.static CompletableFuture<TestResult> If a multistrike move activates Tangling Hair, Gooey, or Weak Armor, a Pokémon will not consume the White Herb until after the final strike.static CompletableFuture<TestResult> If a multistrike move activates Tangling Hair, Gooey, or Weak Armor, a Pokémon will not consume the White Herb until after the final strike.static CompletableFuture<TestResult> If a multistrike move activates Tangling Hair, Gooey, or Weak Armor, a Pokémon will not consume the White Herb until after the final strike.
-
Constructor Details
-
WhiteHerbTests
public WhiteHerbTests()
-
-
Method Details
-
testWhiteHerbAndPartingShot
-
testWhiteHerbAndKOStatBoostAbilities
public static CompletableFuture<TestResult> testWhiteHerbAndKOStatBoostAbilities(BattleTestHelper helper) -
testWhiteHerbAndDoubleIntimidateInDoubles
public static CompletableFuture<TestResult> testWhiteHerbAndDoubleIntimidateInDoubles(BattleTestHelper helper) A White Herb should activate after all instances of Intimidate have activated, no matter if multiple Intimidates activate at the start of the turn or after fainted Pixelmon are replaced.In this Double Battle test, a Litten with the Intimidate ability that knows Sleep Talk and a Torracat with the Intimidate ability that knows Sleep Talk and Final Gambit face a Wynaut that holds a White Herb and knows Sleep Talk and Recycle as well as a Fraxure that knows Sleep Talk. The Litten and Torracat also have a second Litten and a Therian Landorus on their team. Both the Litten and Landorus have the Intimidate ability and Sleep Talk.
Before Turn 1 The first Litten's Intimidate activates and lowers the Wynaut's and the Fraxure's Attack. The Torracat's Intimidate activates and lowers the Wynaut's and the Fraxure's Attack. Turn 1 The Torracat uses Sleep Talk. The Litten uses Sleep Talk. The Fraxure uses Sleep Talk. The Wynaut uses Sleep Talk. Turn 2 The Torracat uses Final Gambit on the Litten (its ally). The Torracat faints. The Litten faints. The Litten would have used Sleep Talk, but it fainted. The Fraxure uses Sleep Talk. The Wynaut uses Recycle. The second Litten is sent out to replace the first Litten. The Landorus is sent out to replace the Torracat. The second Litten's Intimidate activates and lowers the Wynaut's and the Fraxure's Attack. The Landorus' Intimidate activates and lowers the Wynaut's and the Fraxure's Attack. - After Turn 1 We verify that the Wynaut does not have a held item. We verify that the Wynaut's Attack was reset to normal. After Turn 2 We verify that the Wynaut's still does not have a held item. We verify that the Wynaut's Attack was reset to normal again. -
testWhiteHerbWithMultistrikeOnTanglingHair
public static CompletableFuture<TestResult> testWhiteHerbWithMultistrikeOnTanglingHair(BattleTestHelper helper) If a multistrike move activates Tangling Hair, Gooey, or Weak Armor, a Pokémon will not consume the White Herb until after the final strike.In this test, a Slither Wing that holds a White Herb and knows Dual Wingbeat faces an Alolan Dugtrio with the Tangling Hair ability that knows Sleep Talk.
Turn 1 The Alolan Dugtrio uses Sleep Talk. The Slither Wing uses Dual Wingbeat. - After Turn 1 We verify that the Slither Wing's Speed has not changed. -
testWhiteHerbWithMultistrikeOnGooey
public static CompletableFuture<TestResult> testWhiteHerbWithMultistrikeOnGooey(BattleTestHelper helper) If a multistrike move activates Tangling Hair, Gooey, or Weak Armor, a Pokémon will not consume the White Herb until after the final strike.In this test, a Wugtrio that holds a White Herb and knows Triple Dive faces a Hisuian Sliggoo with the Gooey ability that knows Sleep Talk.
Turn 1 The Wugtrio uses Triple Dive. The Hisuian Sliggoo uses Sleep Talk. - After Turn 1 We verify that the Wugtrio's Speed has not changed. -
testWhiteHerbWithWeakArmorVsMultistrike
public static CompletableFuture<TestResult> testWhiteHerbWithWeakArmorVsMultistrike(BattleTestHelper helper) If a multistrike move activates Tangling Hair, Gooey, or Weak Armor, a Pokémon will not consume the White Herb until after the final strike.In this test, a Zweilous that knows Double Hit faces a Vanillish with the Weak Armor ability, that holds a White Herb and knows Sleep Talk.
Turn 1 The Vanillish uses Sleep Talk. The Zweilous uses Double Hit. - After Turn 1 We verify that the Vanillish has not fainted. We verify that the Vanillish's Defense has not changed. We verify that the Vanillish's Speed has increased by four stages. -
testWhiteHerbVsMultipleStatLoweringAbilities
public static CompletableFuture<TestResult> testWhiteHerbVsMultipleStatLoweringAbilities(BattleTestHelper helper) If a Pokémon holding a White Herb activates multiple Pokémon's Tangling Hair or Gooey, it will not consume its White Herb until all of the Abilities have activated for that attack.In this Double Battle test, a Tinkatuff that holds a White Herb and knows Brutal Swing faces an Alolan Dugtrio with the Tangling Hair ability that knows Sleep Talk as well as a Hisuian Sliggoo with the Gooey ability that knows Sleep Talk.
Turn 1 The Alolan Dugtrio uses Sleep Talk. The Tinkatuff uses Brutal Swing. The Hisuian Sliggoo uses Sleep Talk. - After Turn 1 We verify that the Tinkatuff's Speed has not changed. -
testWhiteHerbRemovedBeforeActivation
public static CompletableFuture<TestResult> testWhiteHerbRemovedBeforeActivation(BattleTestHelper helper) If a Pokémon with Weak Armor is hit by Knock Off, Thief, Covet, or a physical move from a Pokémon with Magician, its held White Herb will be knocked off or stolen before it has a chance to activate.In this test, a Ludicolo that knows Knock Off faces a Vanillish with the Weak Armor ability that holds a White Herb and knows Sleep Talk.
Turn 1 The Ludicolo uses Knock Off. The Vanillish uses Sleep Talk. - After Turn 1 We verify that the Vanillish's Defense has decreased by one stage. We verify that the Vanillish's Speed has increased by two stages. -
testWhiteHerbStolenByMagicianBeforeActivation
public static CompletableFuture<TestResult> testWhiteHerbStolenByMagicianBeforeActivation(BattleTestHelper helper) If a Pokémon with Weak Armor is hit by Knock Off, Thief, Covet, or a physical move from a Pokémon with Magician, its held White Herb will be knocked off or stolen before it has a chance to activate.In this test, a Braixen with the Magician ability that knows Scratch faces an Omanyte with the Weak Armor ability that holds a White Herb and knows Sleep Talk.
Turn 1 The Braixen uses Scratch. The Omanyte uses Sleep Talk. - After Turn 1 We verify that the Braixen is holding a White Herb. We verify that the Omanyte's Defense has decreased by one stage. We verify that the Omanyte's Speed has increased by two stages. -
testWhiteHerbFlingedAgainstWeakArmor
public static CompletableFuture<TestResult> testWhiteHerbFlingedAgainstWeakArmor(BattleTestHelper helper) If a Pokémon with Weak Armor is hit by Fling using a White Herb, the White Herb's effect will be applied before Weak Armor lowers its Defense.In this test, a Frogadier that holds a White Herb and knows Pound and Fling faces an Omanyte with the Weak Armor ability that knows Sleep Talk.
Turn 1 The Frogadier uses Pound. The Omanyte uses Sleep Talk. Turn 2 The Frogadier uses Fling. The Frogadier throws its White Herb at the Omanyte. The Omanyte uses Sleep Talk. - After Turn 1 We verify that the Omanyte's Defense has decreased by one stage. We verify that the Omanyte's Speed has increased by two stages. After Turn 2 We verify that the Omanyte's Defense has decreased by one stage. We verify that the Omanyte's Speed has increased by four stages. -
testWhiteHerbStolenByPickpocketBeforeActivation
public static CompletableFuture<TestResult> testWhiteHerbStolenByPickpocketBeforeActivation(BattleTestHelper helper) If a Pokémon uses a contact move that lowers its own stats (such as Superpower) on a Pokémon with Pickpocket, its held White Herb will be stolen before it has a chance to activate.In this test, a Nidoqueen that holds a White Herb and knows Superpower faces a Tinkaton with the Pickpocket ability that knows Sleep Talk.
Turn 1 The Tinkaton uses Sleep Talk. The Nidoqueen uses Superpower. - After Turn 1 We verify that the Nidoqueen does not have a held item. We verify that the Tinkaton is holding a White Herb. We verify that the Nidoqueen's Attack has been lowered by one stage. We verify that the Nidoqueen's Defense has been lowered by one stage. -
testWhiteHerbWithDefiant
If the Pokémon with Defiant is holding a White Herb, Defiant will trigger before the White Herb, so the user will receive the Attack boost and then the lowered stat will be restored.In this test, a Mankey with the Defiant ability that holds a White Herb and knows Sleep Talk faces a Pawniard that knows Leer.
Turn 1 The Mankey uses Sleep Talk. The Pawniard uses Leer. - After Turn 1 We verify that the Mankey's Attack has increased by two stages. We verify that the Mankey's Defense has not changed. -
testWhiteHerbWithDefiantAgainstAttackDecrease
public static CompletableFuture<TestResult> testWhiteHerbWithDefiantAgainstAttackDecrease(BattleTestHelper helper) If the Pokémon with Defiant is holding a White Herb, Defiant will trigger before the White Herb, so the user will receive the Attack boost and then the lowered stat will be restored; if the same stat boosted by the Ability is lowered, the White Herb never has a chance to activate.In this test, a Mankey with the Defiant ability that holds a White Herb and knows Sleep Talk faces a Purugly that knows Growl.
Turn 1 The Purugly uses Growl. The Mankey uses Sleep Talk. - After Turn 1 We verify that the Mankey's Attack has increased by one stage. We verify that the Mankey is holding a White Herb. -
testWhiteHerbWithCompetitive
If the Pokémon with Competitive is holding a White Herb, Competitive will trigger before the White Herb, so the user will receive the Special Attack boost and then the lowered stat will be restored.In this test, a Prinplup with the Competitive ability that holds a White Herb and knows Sleep Talk faces a Pawniard that knows Leer.
Turn 1 The Pawniard uses Leer. The Prinplup uses Sleep Talk. - After Turn 1 We verify that the Prinplup's Special Attack has increased by two stages. We verify that the Prinplup's Defense has not changed. -
testWhiteHerbWithCompetitiveAgainstSpAttackDecrease
public static CompletableFuture<TestResult> testWhiteHerbWithCompetitiveAgainstSpAttackDecrease(BattleTestHelper helper) If the Pokémon with Competitive is holding a White Herb, Competitive will trigger before the White Herb, so the user will receive the Special Attack boost and then the lowered stat will be restored; if the same stat boosted by the Ability is lowered, the White Herb never has a chance to activate.In this test, a Prinplup with the Competitive ability that holds a White Herb and knows Sleep Talk faces an Impidimp that knows Confide.
Turn 1 The Impidimp uses Confide. The Prinplup uses Sleep Talk. - After Turn 1 We verify that the Prinplup's Special Attack has increased by one stage. We verify that the Prinplup is holding a White Herb. -
testWhiteHerbDoesNotRestoreOpponentStats
public static CompletableFuture<TestResult> testWhiteHerbDoesNotRestoreOpponentStats(BattleTestHelper helper) White Herb should not restore the stats of an opponent.In this test, a Sprigatito that knows Leaf Storm faces a Blissey that holds a White Herb and knows Sleep Talk.
Turn 1 The Sprigatito uses Leaf Storm. The Blissey uses Sleep Talk. - After Turn 1 We verify that the Blissey is holding a White Herb. We verify that the Sprigatito's Special Attack has been lowered by two stages.
-