Class CompetitiveTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> Competitive activates before a held White Herb.static CompletableFuture
<TestResult> If multiple stats are lowered (such as by Memento or Venom Drench) Competitive activates for each stat lowered.static CompletableFuture
<TestResult> Competitive will not activate if its stats are lowered by an ally.static CompletableFuture
<TestResult> Competitive will not activate if the Pokémon with this Ability lowers its own stats.static CompletableFuture
<TestResult> When a stat of a Pokémon with this Ability is lowered by an opponent, its Special Attack is increased by two stages.
-
Constructor Details
-
CompetitiveTests
public CompetitiveTests()
-
-
Method Details
-
testCompetitiveIncreasesSpecialAttackByTwoStages
public static CompletableFuture<TestResult> testCompetitiveIncreasesSpecialAttackByTwoStages(BattleTestHelper helper) When a stat of a Pokémon with this Ability is lowered by an opponent, its Special Attack is increased by two stages.In this test, a Boltund with the Competitive ability that knows the move Sleep Talk faces a Yamper that knows the move Tail Whip.
Turn 1 The Boltund uses Sleep Talk. The Yamper uses Tail Whip. - We verify that the Boltund had its Defense lowered by one stage. We verify that the Boltund had its Special Attack raised by two stages.
-
testCompetitiveDoesNotWorkForUserLoweredStats
public static CompletableFuture<TestResult> testCompetitiveDoesNotWorkForUserLoweredStats(BattleTestHelper helper) Competitive will not activate if the Pokémon with this Ability lowers its own stats.In this test, a Milotic with the Competitive ability that knows the move Scale Shot faces a Yamper that knows the move Sleep Talk.
Turn 1 The Milotic uses Scale Shot. The Yamper uses Sleep Talk. - We verify that the Milotic had its Defense lowered by one stage. We verify that the Milotic had its Speed raised by one stage. We verify that the Milotic's Special Attack has not been raised or lowered.
-
testCompetitiveDoesNotWorkForAllyLoweredStats
public static CompletableFuture<TestResult> testCompetitiveDoesNotWorkForAllyLoweredStats(BattleTestHelper helper) Competitive will not activate if its stats are lowered by an ally.In this Double Battle test, a Milotic with the Competitive ability that knows the move Sleep Talk is on a team with a Piplup that knows the move Growl. They face a Yamper that knows the move Sleep Talk.
Turn 1 The Milotic uses Sleep Talk. The Piplup uses Growl on the Milotic. The Yamper uses Sleep Talk. - We verify that the Milotic had its Attack lowered by one stage. We verify that the Milotic's Special Attack has not been raised or lowered.
-
testCompetitiveActivatesForEachStatLowered
public static CompletableFuture<TestResult> testCompetitiveActivatesForEachStatLowered(BattleTestHelper helper) If multiple stats are lowered (such as by Memento or Venom Drench) Competitive activates for each stat lowered.In this test, a Boltund with the Competitive ability that knows the move Sleep Talk faces a Venipede that knows the moves Toxic and Venom Drench.
Turn 1 The Boltund uses Sleep Talk. The Venipede uses Toxic. Turn 2 The Boltund uses Sleep Talk. The Venipede uses Venom Drench. - We verify that the Boltund had its Attack lowered by one stage. We verify that the Boltund had its Speed lowered by one stage. We verify that the Boltund had its Special Attack lowered one stage but then raised by six stages.
-
testCompetitiveActivatesBeforeWhiteHerb
public static CompletableFuture<TestResult> testCompetitiveActivatesBeforeWhiteHerb(BattleTestHelper helper) Competitive activates before a held White Herb. If the Pokémon no longer has any negative stat stages after Competitive is applied, the White Herb will not have the chance to activate.In this test, a Boltund with the Competitive ability that knows the move Sleep Talk faces a Lanturn that knows the move Eerie Impulse.
Turn 1 The Boltund uses Sleep Talk. The Lanturn uses Eerie Impulse. - We verify that the Boltund's Special Attack has not changed by the end of the first turn. We verify that the Boltund still has its White Herb.
-