Class BestowTests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult>
Bestow bypasses accuracy checks to always hit, unless the target is in the semi-invulnerable turn of a move such as Dig or Fly.static CompletableFuture<TestResult>
Bestow fails if the target is behind a substitute.static CompletableFuture<TestResult>
Bestow fails if the target has a held item.static CompletableFuture<TestResult>
If powered up by a Normalium Z into Z-Bestow, the user's Speed stat is raised by two stages, then the move itself will fail after obtaining the Z-Power since it won't be possible to transfer its own Z-Crystal.static CompletableFuture<TestResult>
Bestow is blocked by Crafty Shield.static CompletableFuture<TestResult>
Bestow is not blocked by Protect, Detect, or Spiky Shield.static CompletableFuture<TestResult>
Bestow will fail if the user is holding a Colored Orb and the target could use it to undergo Primal Reversion.static CompletableFuture<TestResult>
Bestow will fail if the user is holding a Mega Stone and the target could use it to Mega Evolve.static CompletableFuture<TestResult>
Bestow will fail if the user is holding a Memory and the target is a Silvally.static CompletableFuture<TestResult>
Bestow will fail if the user is holding a Mega Stone and could use it to Mega Evolve.static CompletableFuture<TestResult>
Bestow will fail if the user is holding a Colored Orb and the user could use it to undergo Primal Reversion.static CompletableFuture<TestResult>
Bestow will fail if the user is holding a Memory and the user is a Silvally.static CompletableFuture<TestResult>
Bestow will fail if the user is holding a Z Crystal.static CompletableFuture<TestResult>
Bestow will fail if the user holds Mail.static CompletableFuture<TestResult>
Bestow will fail if the target is a Genesect and the user is holding a Drive.static CompletableFuture<TestResult>
Bestow will fail if the user is a Genesect and is holding a Drive.static CompletableFuture<TestResult>
Bestow will fail if the target is a Giratina and the user holds a Griseous Orb.static CompletableFuture<TestResult>
Bestow will fail if the user is a Giratina and holds a Griseous Orb.static CompletableFuture<TestResult>
Bestow will fail if the target is an Arceus and the user holds a Plate.static CompletableFuture<TestResult>
Bestow will fail if the user is an Arceus and is holding a Plate.static CompletableFuture<TestResult>
testShouldSucceedIfNeitherPokemonCanUseTheColoredOrbButCouldUseADifferentOrb
(BattleTestHelper helper) Bestow will succeed if the user is holding a Colored Orb and neither the user nor the target can use the Colored Orb to undergo Primal Reversion.static CompletableFuture<TestResult>
Bestow will succeed if the user is holding a Colored Orb and neither the user nor the target can use the Colored Orb to undergo Primal Reversion.static CompletableFuture<TestResult>
Bestow will succeed if the user is holding a Mega Stone and neither the user nor the target can use the Mega Stone to Mega Evolve.static CompletableFuture<TestResult>
Bestow will succeed if the user is holding a Memory and neither the user nor the target can use the Memory (because neither of them are Silvally).static CompletableFuture<TestResult>
Bestow transfers the user's held item to the target.
-
Constructor Details
-
BestowTests
public BestowTests()
-
-
Method Details
-
testTransfersHeldItemToTheTarget
public static CompletableFuture<TestResult> testTransfersHeldItemToTheTarget(BattleTestHelper helper) Bestow transfers the user's held item to the target.In this test a Togetic that holds a Silk Scarf and knows Bestow faces a Pidove that knows Sleep Talk. - The Pidove uses Sleep Talk. The Togetic uses Bestow. The Togetic's Silk Scarf is removed and given to the Pidove. - We verify that the Togetic doesn't have a held item. We verify that the Pidove has a held item.
-
testFailsIfTheTargetHasAHeldItem
public static CompletableFuture<TestResult> testFailsIfTheTargetHasAHeldItem(BattleTestHelper helper) Bestow fails if the target has a held item.In this test a Togetic that holds a Leftovers and knows Bestow faces a Pidove that holds a Amulet Coin and knows Sleep Talk. - The Pidove uses Sleep Talk. The Togetic uses Bestow. The move fails and Togetic's Leftovers is not given to Pidove. - We verify that the Togetic's held item is a Leftovers. We verify that the Pidove's held item is an Amulet Coin.
-
testFailsIfTargetIsBehindASubstitute
public static CompletableFuture<TestResult> testFailsIfTargetIsBehindASubstitute(BattleTestHelper helper) Bestow fails if the target is behind a substitute.In this test a Togetic that holds a Silk Scarf and knows Bestow faces a Froakie that knows Substitute. - The Froakie uses Substitute. The Togetic uses Bestow. The Togetic's Silk Scarf is removed and given to the Froakie. - We verify that the Togetic has a held item. We verify that the Froakie doesn't have a held item.
-
testBestowBypassesAccuracyChecks
public static CompletableFuture<TestResult> testBestowBypassesAccuracyChecks(BattleTestHelper helper) Bestow bypasses accuracy checks to always hit, unless the target is in the semi-invulnerable turn of a move such as Dig or Fly.In this test a Togetic that holds a Silk Scarf and knows Bestow faces a Staryu that knows Minimize. - Turn 1 The Staryu uses Minimize. The Togetic uses Sleep Talk. Turn 2 The Staryu uses Minimize. The Togetic uses Sleep Talk. Turn 3 The Staryu uses Minimize. The Togetic uses Bestow. The Silk Scarf is transferred to the Stayu. - We verify that the Togetic doesn't have a held item. We verify that the Staryu has a held item.
-
testIsNotBlockedByProtectMoves
Bestow is not blocked by Protect, Detect, or Spiky Shield.In this test a Togetic that holds a Silk Scarf and knows Bestow faces a Mienfoo that knows Detect. - Turn 1 The Mienfoo uses Detect. The Togetic uses Bestow. - We verify that the Togetic doesn't have a held item. We verify that the Mienfoo has a held item.
-
testIsBlockedByCraftyShield
Bestow is blocked by Crafty Shield.In this test a Togetic that holds a Silk Scarf and knows Bestow faces a Magearna that knows Crafty Shield. - Turn 1 The Magearna uses Crafty Shield. The Togetic uses Bestow. - We verify that the Togetic has a held item. We verify that the Magearna doesn't have a held item.
-
testShouldFailIfTheUserHoldsMail
public static CompletableFuture<TestResult> testShouldFailIfTheUserHoldsMail(BattleTestHelper helper) Bestow will fail if the user holds Mail.In this test a Togetic that holds a Pokémail Air and knows Bestow faces a Mienfoo that knows Sleep Talk. - Turn 1 The Mienfoo uses Sleep Talk. The Togetic uses Bestow. The Togetic's held item isn't transferred to the Mienfoo. - We verify that the Togetic has a held item. We verify that the Mienfoo doesn't have a held item.
-
testShouldFailWithGriseousOrbIfGiratinaIsTheUser
public static CompletableFuture<TestResult> testShouldFailWithGriseousOrbIfGiratinaIsTheUser(BattleTestHelper helper) Bestow will fail if the user is a Giratina and holds a Griseous Orb.In this test a Giratina that holds a Griseous Orb and knows Bestow faces a Mienfoo that knows Sleep Talk. - Turn 1 The Mienfoo uses Sleep Talk. The Giratina uses Bestow. The Giratina's Griseous Orb isn't transferred to the Mienfoo. - We verify that the Giratina has a held item. We verify that the Mienfoo doesn't have a held item.
-
testShouldFailWithGriseousOrbIfGiratinaIsTheTarget
public static CompletableFuture<TestResult> testShouldFailWithGriseousOrbIfGiratinaIsTheTarget(BattleTestHelper helper) Bestow will fail if the target is a Giratina and the user holds a Griseous Orb.In this test a Togetic that holds a Griseous Orb and knows Bestow faces a Giratina that knows Sleep Talk. - Turn 1 The Giratina uses Sleep Talk. The Togetic uses Bestow. The Togetic's Griseous Orb isn't transferred to the Giratina. - We verify that the Togetic has a held item. We verify that the Giratina doesn't have a held item.
-
testShouldFailWithPlatesIfArceusIsTheUser
public static CompletableFuture<TestResult> testShouldFailWithPlatesIfArceusIsTheUser(BattleTestHelper helper) Bestow will fail if the user is an Arceus and is holding a Plate.In this test a Arceus that holds a Plate and knows Bestow faces a Mienfoo that knows Sleep Talk. - Turn 1 The Arceus uses Bestow. The Arceus's Plate isn't transferred to the Mienfoo. The Mienfoo uses Sleep Talk. - We verify that the Arceus has a held item. We verify that the Mienfoo doesn't have a held item.
-
testShouldFailWithPlatesIfArceusIsTheTarget
public static CompletableFuture<TestResult> testShouldFailWithPlatesIfArceusIsTheTarget(BattleTestHelper helper) Bestow will fail if the target is an Arceus and the user holds a Plate.In this test a Togetic that holds a Plate and knows Bestow faces a Arceus that knows Sleep Talk. - Turn 1 The Arceus uses Sleep Talk. The Togetic uses Bestow. The Togetic's Plate isn't transferred to the Arceus. - We verify that the Togetic has a held item. We verify that the Arceus doesn't have a held item.
-
testShouldFailWithDrivesIfGenesectIsTheUser
public static CompletableFuture<TestResult> testShouldFailWithDrivesIfGenesectIsTheUser(BattleTestHelper helper) Bestow will fail if the user is a Genesect and is holding a Drive.In this test a Genesect that holds a Drive and knows Bestow faces a Mienfoo that knows Sleep Talk. - Turn 1 The Genesect uses Bestow. The Genesect's Drive isn't transferred to the Mienfoo. The Mienfoo uses Sleep Talk. - We verify that the Genesect has a held item. We verify that the Mienfoo doesn't have a held item.
-
testShouldFailWithDrivesIfGenesectIsTheTarget
public static CompletableFuture<TestResult> testShouldFailWithDrivesIfGenesectIsTheTarget(BattleTestHelper helper) Bestow will fail if the target is a Genesect and the user is holding a Drive.In this test a Togetic that holds a Drive and knows Bestow faces a Genesect that knows Sleep Talk. - Turn 1 The Genesect uses Sleep Talk. The Togetic uses Bestow. The Togetic's Drive isn't transferred to the Genesect. - We verify that the Togetic has a held item. We verify that the Genesect doesn't have a held item.
-
testShouldFailIfTheUserHoldsAZCrystal
public static CompletableFuture<TestResult> testShouldFailIfTheUserHoldsAZCrystal(BattleTestHelper helper) Bestow will fail if the user is holding a Z Crystal.In this test a Togetic that holds a Z Crystal and knows Bestow faces a Genesect that knows Sleep Talk. - Turn 1 The Genesect uses Sleep Talk. The Togetic uses Bestow. The Togetic's Z Crystal isn't transferred to the Genesect. - We verify that the Togetic has a held item. We verify that the Genesect doesn't have a held item.
-
testIfUsedAsZBestowSpeedIsRaisedButItStillFails
public static CompletableFuture<TestResult> testIfUsedAsZBestowSpeedIsRaisedButItStillFails(BattleTestHelper helper) If powered up by a Normalium Z into Z-Bestow, the user's Speed stat is raised by two stages, then the move itself will fail after obtaining the Z-Power since it won't be possible to transfer its own Z-Crystal.In this test a Togetic that holds a Z Crystal and knows Bestow faces a Genesect that knows Sleep Talk. - Turn 1 The Genesect uses Sleep Talk. The Togetic uses Z-Bestow. The Togetic's Speed is raised by two stages. The Togetic's Z Crystal isn't transferred to the Genesect. - We verify that the Togetic's Speed has been raised by two stages. We verify that the Togetic has a held item. We verify that the Genesect doesn't have a held item.
-
testShouldFailIfTheUserCouldUseItsHeldMegaStone
public static CompletableFuture<TestResult> testShouldFailIfTheUserCouldUseItsHeldMegaStone(BattleTestHelper helper) Bestow will fail if the user is holding a Mega Stone and could use it to Mega Evolve.In this test a Audino that holds a Audinite and knows Bestow faces a Arceus that knows Sleep Talk. - Turn 1 The Arceus uses Sleep Talk. The Audino uses Bestow. The Audino's Audinite isn't transferred to the Arceus. - We verify that the Audino has a held item. We verify that the Arceus doesn't have a held item.
-
testShouldFailIfTheTargetCouldUseTheUsersHeldMegaStone
public static CompletableFuture<TestResult> testShouldFailIfTheTargetCouldUseTheUsersHeldMegaStone(BattleTestHelper helper) Bestow will fail if the user is holding a Mega Stone and the target could use it to Mega Evolve.In this test a Togetic that holds a Medichamite and knows Bestow faces a Medicham that knows Sleep Talk. - Turn 1 The Medicham uses Sleep Talk. The Togetic uses Bestow. The Togetic's Medichamite isn't transferred to the Medicham. - We verify that the Togetic has a held item. We verify that the Medicham doesn't have a held item.
-
testShouldSucceedIfNeitherTheTargetOrUserCanUseTheMegaStone
public static CompletableFuture<TestResult> testShouldSucceedIfNeitherTheTargetOrUserCanUseTheMegaStone(BattleTestHelper helper) Bestow will succeed if the user is holding a Mega Stone and neither the user nor the target can use the Mega Stone to Mega Evolve.In this test a Togetic that holds a Medichamite and knows Bestow faces a Mienfoo that knows Sleep Talk. - Turn 1 The Mienfoo uses Sleep Talk. The Togetic uses Bestow. The Togetic's Medichamite is transferred to the Mienfoo. - We verify that the Togetic doesn't have a held item. We verify that the Mienfoo has a held item.
-
testShouldFailIfTheTargetCouldUseTheUsersHeldColoredOrb
public static CompletableFuture<TestResult> testShouldFailIfTheTargetCouldUseTheUsersHeldColoredOrb(BattleTestHelper helper) Bestow will fail if the user is holding a Colored Orb and the target could use it to undergo Primal Reversion.In this test a Audino that holds a Red Orb and knows Bestow faces a Groudon that knows Sleep Talk. - Turn 1 The Groudon uses Sleep Talk. The Audino uses Bestow. The Audino's Red Orb isn't transferred to the Groudon. - We verify that the Audino has a held item. We verify that the Groudon doesn't have a held item.
-
testShouldFailIfTheUserCouldUseTheUsersHeldColoredOrb
public static CompletableFuture<TestResult> testShouldFailIfTheUserCouldUseTheUsersHeldColoredOrb(BattleTestHelper helper) Bestow will fail if the user is holding a Colored Orb and the user could use it to undergo Primal Reversion.In this test a Groudon that holds a Red Orb and knows Bestow faces a Medicham that knows Sleep Talk. - Turn 1 The Groudon uses Bestow. The Groudon's Red Orb isn't transferred to the Medicham. The Medicham uses Sleep Talk. - We verify that the Groudon has a held item. We verify that the Medicham doesn't have a held item.
-
testShouldSucceedIfNeitherTheTargetOrUserCanUseTheColoredOrb
public static CompletableFuture<TestResult> testShouldSucceedIfNeitherTheTargetOrUserCanUseTheColoredOrb(BattleTestHelper helper) Bestow will succeed if the user is holding a Colored Orb and neither the user nor the target can use the Colored Orb to undergo Primal Reversion.In this test a Togetic that holds a Red Orb and knows Bestow faces a Mienfoo that knows Sleep Talk. - Turn 1 The Mienfoo uses Sleep Talk. The Togetic uses Bestow. The Togetic's Red Orb is transferred to the Mienfoo. - We verify that the Togetic doesn't have a held item. We verify that the Mienfoo has a held item.
-
testShouldSucceedIfNeitherPokemonCanUseTheColoredOrbButCouldUseADifferentOrb
public static CompletableFuture<TestResult> testShouldSucceedIfNeitherPokemonCanUseTheColoredOrbButCouldUseADifferentOrb(BattleTestHelper helper) Bestow will succeed if the user is holding a Colored Orb and neither the user nor the target can use the Colored Orb to undergo Primal Reversion.In this test a Togetic that holds a Red Orb and knows Bestow faces a Kyogre that knows Sleep Talk. - Turn 1 The Kyogre uses Sleep Talk. The Togetic uses Bestow. The Togetic's Red Orb is transferred to the Kyogre. - We verify that the Togetic doesn't have a held item. We verify that the Kyogre has a held item.
-
testShouldFailIfTheTargetCouldUseTheUsersHeldMemory
public static CompletableFuture<TestResult> testShouldFailIfTheTargetCouldUseTheUsersHeldMemory(BattleTestHelper helper) Bestow will fail if the user is holding a Memory and the target is a Silvally.In this test a Audino that holds a Memory and knows Bestow faces a Silvally that knows Sleep Talk. - Turn 1 The Silvally uses Sleep Talk. The Audino uses Bestow. The Audino's Memory isn't transferred to the Silvally. - We verify that the Audino has a held item. We verify that the Silvally doesn't have a held item.
-
testShouldFailIfTheUserCouldUseTheUsersHeldMemory
public static CompletableFuture<TestResult> testShouldFailIfTheUserCouldUseTheUsersHeldMemory(BattleTestHelper helper) Bestow will fail if the user is holding a Memory and the user is a Silvally.In this test a Silvally that holds a Memory and knows Bestow faces a Medicham that knows Sleep Talk. - Turn 1 The Silvally uses Bestow. The Silvally's Memory isn't transferred to the Medicham. The Medicham uses Sleep Talk. - We verify that the Silvally has a held item. We verify that the Medicham doesn't have a held item.
-
testShouldSucceedIfNeitherTheTargetOrUserCanUseTheMemory
public static CompletableFuture<TestResult> testShouldSucceedIfNeitherTheTargetOrUserCanUseTheMemory(BattleTestHelper helper) Bestow will succeed if the user is holding a Memory and neither the user nor the target can use the Memory (because neither of them are Silvally).In this test a Togetic that holds a Memory and knows Bestow faces a Mienfoo that knows Sleep Talk. - Turn 1 The Mienfoo uses Sleep Talk. The Togetic uses Bestow. The Togetic's Memory is transferred to the Mienfoo. - We verify that the Togetic doesn't have a held item. We verify that the Mienfoo has a held item.
-