Class MailTests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult>
Mail can be removed by Knock Off.static CompletableFuture<TestResult>
Mail can not be removed by Bestow.static CompletableFuture<TestResult>
Mail cannot be thrown with Fling.static CompletableFuture<TestResult>
Mail cannot be stolen by abilities that steal items and most moves that steal items.static CompletableFuture<TestResult>
Mail can not be stolen by Thief.
-
Constructor Details
-
MailTests
public MailTests()
-
-
Method Details
-
testShouldNotBeStolenByMostMovesAndAbilities
public static CompletableFuture<TestResult> testShouldNotBeStolenByMostMovesAndAbilities(BattleTestHelper helper) Mail cannot be stolen by abilities that steal items and most moves that steal items.In this test, a Blissey with Natural Cure, holding a Pokémail Air, that knows the move Soft-Boiled faces a team consisting of a Fennekin with Magician that knows Grass Knot, an Abra with Synchronize that knows Trick, and a Lopunny with Klutz that knows Switcheroo. - Turn 1 The Fennekin attacks with Grass Knot. Magician would normally steal the hit Pokémon's item, but it does not in this case. Blissey uses Soft-Boiled. Turn 2 The Fennekin is switched out for Abra. The Blissey uses Soft-Boiled. Turn 3 The Abra uses Trick. The Pokemail Air is not switched to Abra. Blissey uses Soft-Boiled. Turn 4 The Abra is switched out for Lopunny. The Blissey uses Soft-Boiled. Turn 5 The Lopunny uses Switcheroo. The Pokemail Air is not switched to Lopunny. Blissey uses Soft-Boiled. - Each time after the Pokémon attack the Blissey, we verify that the Blissey still has a held item.
-
testShouldNotBeRemovedByFling
Mail cannot be thrown with Fling.In this test, a Pangoro with Iron Fist that knows the move Swords Dance faces an Abra with Synchronize, holding a Pokémail Air, that knows Fling. - Turn 1 The Abra attacks with Fling. The Abra's attack fails since Mail cannot be thrown. Pangoro uses Swords Dance. - We verify that the Abra still has a held item.
-
testShouldBeRemovedByKnockOff
Mail can be removed by Knock Off.In this test, a Pangoro with Iron Fist, holding a Pokémail Air, that knows the move Swords Dance faces an Abra with Synchronize that knows Knock Off. - Turn 1 The Abra attacks with Knock Off. The Pangoro has its Pokémail Air removed. Pangoro uses Swords Dance. - We verify that the Pangoro does not have a held item.
-
testShouldNotBeStolenByThief
Mail can not be stolen by Thief.In this test, a Pangoro with Iron Fist, holding a Pokémail Air, that knows the move Swords Dance faces an Abra with Synchronize that knows the move Thief. - Turn 1 The Abra attacks with Thief. The Pangoro does not have its Pokémail Air stolen. Pangoro uses Swords Dance. - We verify that the Pangoro has a held item.
-
testShouldNotBeRemovedByBestow
Mail can not be removed by Bestow.In this test, a Pangoro with Iron Fist, that knows the move Swords Dance faces an Clefairy holding a Pokémail Air that knows the move Bestow. - Turn 1 The Clefairy uses Bestow. The move fails. Pangoro uses Swords Dance. - We verify that the Clefairy has a held item. We verify that the Pangoro does not have a held item.
-