Class CorrosiveGasTests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult>
Corrosive Gas can remove an item from a Pokémon that is behind a Substitute if the user has the Infiltrator ability.static CompletableFuture<TestResult>
Corrosive Gas does not affect a Drive that is held by a Genesect.static CompletableFuture<TestResult>
Corrosive Gas does not affect a Griseous Orb that is held by a Giratina.static CompletableFuture<TestResult>
Corrosive Gas does not affect a Memory that is held by a Silvally.static CompletableFuture<TestResult>
Corrosive Gas does not affect a Rusted Shield that is held by a Zamazenta.static CompletableFuture<TestResult>
Corrosive Gas does not affect a Rusted Sword that is held by a Zacian.static CompletableFuture<TestResult>
Corrosive Gas does not affect an item held by Pokémon that is behind a Substitute.static CompletableFuture<TestResult>
Corrosive Gas does not affect an item held by Pokémon with the Sticky Hold ability.static CompletableFuture<TestResult>
Corrosive Gas removes the targets' held items for the rest of the battle.static CompletableFuture<TestResult>
Corrosive Gas removes the targets' held items for the rest of the battle (even if switched out).static CompletableFuture<TestResult>
Held items removed by Corrosive Gas cannot be recovered by Recycle or Harvest.static CompletableFuture<TestResult>
Held items removed by Corrosive Gas cannot be recovered by Recycle or Harvest.
-
Constructor Details
-
CorrosiveGasTests
public CorrosiveGasTests()
-
-
Method Details
-
testPreventsTheTargetFromUsingItsHeldItem
public static CompletableFuture<TestResult> testPreventsTheTargetFromUsingItsHeldItem(BattleTestHelper helper) Corrosive Gas removes the targets' held items for the rest of the battle.In this test, a Garbodor that knows the move Corrosive Gas faces a Stunky that starts at 50% HP, holds a Leftovers, and knows Sleep Talk. - Turn 1 The Garbodor uses Corrosive Gas. The Stunky's held item is removed. The Stunky uses Sleep Talk, which does nothing. The Stunky doesn't receive any healing from its Leftovers. - We verify that the Stunky does not have a held item. We verify that the Stunky is still at 50% HP.
-
testPreventsTheTargetFromUsingItsHeldItemEvenAfterSwitchingOut
public static CompletableFuture<TestResult> testPreventsTheTargetFromUsingItsHeldItemEvenAfterSwitchingOut(BattleTestHelper helper) Corrosive Gas removes the targets' held items for the rest of the battle (even if switched out).In this test, a Garbodor that knows the move Corrosive Gas faces a Stunky that starts at 50% HP, holds a Leftovers, and knows Sleep Talk. - Turn 1 The Garbodor uses Corrosive Gas. The Stunky's held item is removed. The Stunky uses Sleep Talk, which does nothing. The Stunky doesn't receive any healing due from its Leftovers. Turn 2 The Stunky is switched out for Magikarp. The Garbodor uses Sleep Talk. Turn 3 The Magikarp is switched out for Stunky. The Garbodor uses Sleep Talk. The Stunky doesn't receive any healing from its Leftovers. - After turn 1: We verify that the Stunky does not have a held item. We verify that the Stunky is still at 50% HP.
-
testRemovedItemsCannotBeRecycled
public static CompletableFuture<TestResult> testRemovedItemsCannotBeRecycled(BattleTestHelper helper) Held items removed by Corrosive Gas cannot be recovered by Recycle or Harvest.In this test, a Garbodor that knows the moves Corrosive Gas and Clear Smog faces a Pansage that holds a Sitrus Berry and knows the move Recycle. - Turn 1 Garbodor uses Corrosive Gas. Pansage's held item is removed. Pansage uses Recycle, which does nothing. Turn 2 Garbodor uses Clear Smog, which brings the Pansage to below 50% HP and above 25% HP. Pansage uses Recycle, which does nothing. - After turn 1: We verify that the Pansage does not have a held item. We verify that the Pansage has not consumed an item. After turn 2: We verify that the Pansage does not have a held item. We verify that the Pansage has not consumed an item. We verify that the Pansage's HP has not returned to above 50% HP.
-
testRemovedItemsCannotBeHarvested
public static CompletableFuture<TestResult> testRemovedItemsCannotBeHarvested(BattleTestHelper helper) Held items removed by Corrosive Gas cannot be recovered by Recycle or Harvest.In this test, a Garbodor that knows the moves Corrosive Gas and Sludge Bomb faces a Dolliv with the Harvest ability that holds a Sitrus Berry and knows the move Sleep Talk. - Turn 1 Garbodor uses Corrosive Gas. Dolliv held item is removed. Dolliv uses Sleep Talk, which does nothing. Dolliv's Harvest does not activate. Turn 1 Garbodor uses Sludge Bomb. Dolliv uses Sleep Talk. Dolliv doesn't receive any healing from its Sitrus Berry. Dolliv's Harvest does not activate. - After turn 1: We verify that the Dolliv does not have a held item. We verify that the Dolliv has not consumed an item. After turn 2: We verify that the Dolliv does not have a held item. We verify that the Dolliv has not consumed an item. We verify that the Dolliv's HP has not returned to above 50% HP.
-
testDoesNotAffectTargetsWithStickyHold
public static CompletableFuture<TestResult> testDoesNotAffectTargetsWithStickyHold(BattleTestHelper helper) Corrosive Gas does not affect an item held by Pokémon with the Sticky Hold ability.In this test, a Garbodor that knows the move Corrosive Gas faces a Trubbish with the Sticky Hold ability, that starts at 50% HP, holds a Leftovers, and knows Sleep Talk. - Turn 1 Garbodor uses Corrosive Gas. Trubbish can still use its held item. Trubbish uses Sleep Talk, which does nothing. Trubbish receives healing from its Leftovers. - We verify that the Trubbish has a held item. We verify that the Trubbish is still at ~56% HP.
-
testDoesNotAffectTargetsBehindASubstitute
public static CompletableFuture<TestResult> testDoesNotAffectTargetsBehindASubstitute(BattleTestHelper helper) Corrosive Gas does not affect an item held by Pokémon that is behind a Substitute.In this test, a Garbodor that knows the move Corrosive Gas faces a Skuntank that holds a Leftovers and knows the move Substitute. - Turn 1 Skuntank uses Substitute. Garbodor uses Corrosive Gas. Skuntank's Leftovers are unaffected. - We verify that the Skuntank has a held item. We verify that the Skuntank's HP is above 76%.
-
testAffectsTargetsBehindASubstituteWithInfiltrator
public static CompletableFuture<TestResult> testAffectsTargetsBehindASubstituteWithInfiltrator(BattleTestHelper helper) Corrosive Gas can remove an item from a Pokémon that is behind a Substitute if the user has the Infiltrator ability.In this test, a Garbodor that has the Infiltrator ability and knows the move Corrosive Gas faces a Skuntank that holds a Leftovers and knows the move Substitute. - Turn 1 Skuntank uses Substitute. Garbodor uses Corrosive Gas. Skuntank's Leftovers are removed. - We verify that the Skuntank doesn't have a held item. We verify that the Skuntank's HP is at ~75%.
-
testDoesNotAffectAGriseousOrbHeldByAGiratina
public static CompletableFuture<TestResult> testDoesNotAffectAGriseousOrbHeldByAGiratina(BattleTestHelper helper) Corrosive Gas does not affect a Griseous Orb that is held by a Giratina.In this test, a Garbodor that knows the move Corrosive Gas faces a Giratina that holds a Griseous Orb and knows the move Sleep Talk. - Turn 1 Giratina uses Sleep Talk. Garbodor uses Corrosive Gas. Giratina's Griseous Orb is unaffected. - We verify that the Giratina has a held item.
-
testDoesNotAffectADriveHeldByAGenesect
public static CompletableFuture<TestResult> testDoesNotAffectADriveHeldByAGenesect(BattleTestHelper helper) Corrosive Gas does not affect a Drive that is held by a Genesect.In this test, a Garbodor that knows the move Corrosive Gas faces a Genesect that holds a Burn Drive and knows the move Sleep Talk. - Turn 1 Genesect uses Sleep Talk. Garbodor uses Corrosive Gas. Genesect's Burn Drive is unaffected. - We verify that the Genesect has a held item.
-
testDoesNotAffectAMemoryHeldByASilvally
public static CompletableFuture<TestResult> testDoesNotAffectAMemoryHeldByASilvally(BattleTestHelper helper) Corrosive Gas does not affect a Memory that is held by a Silvally.In this test, a Garbodor that knows the move Corrosive Gas faces a Silvally that holds a Steel Memory and knows the move Sleep Talk. - Turn 1 Silvally uses Sleep Talk. Garbodor uses Corrosive Gas. Silvally's Steel Memory is unaffected. - We verify that the Silvally has a held item.
-
testDoesNotAffectARustedSwordHeldByAZacian
public static CompletableFuture<TestResult> testDoesNotAffectARustedSwordHeldByAZacian(BattleTestHelper helper) Corrosive Gas does not affect a Rusted Sword that is held by a Zacian.In this test, a Garbodor that knows the move Corrosive Gas faces a Zacian that holds a Rusted Sword and knows the move Sleep Talk. - Turn 1 Zacian uses Sleep Talk. Garbodor uses Corrosive Gas. Zacian's Rusted Sword is unaffected. - We verify that the Zacian has a held item.
-
testDoesNotAffectARustedShieldHeldByAZamazenta
public static CompletableFuture<TestResult> testDoesNotAffectARustedShieldHeldByAZamazenta(BattleTestHelper helper) Corrosive Gas does not affect a Rusted Shield that is held by a Zamazenta.In this test, a Garbodor that knows the move Corrosive Gas faces a Zamazenta that holds a Rusted Shield and knows the move Sleep Talk. - Turn 1 Zamazenta uses Sleep Talk. Garbodor uses Corrosive Gas. Zamazenta's Rusted Shield is unaffected. - We verify that the Zamazenta has a held item.
-