Class GemTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> Fling fails if the user is holding a Gem.static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> Moves that call other moves will only consume a Gem if the called move is of the appropriate type for the Gem.static CompletableFuture
<TestResult> Moves that call other moves will only consume a Gem if the called move is of the appropriate type for the Gem.static CompletableFuture
<TestResult> Fixed-damage moves (such as Dragon Rage, Counter, and Endeavor) will consume Gems but will not have their damage modified.static CompletableFuture
<TestResult> Gems are not consumed during the charging turns of two-turn moves.static CompletableFuture
<TestResult> Gems are not consumed during the charging turns of multiple-turn moves.static CompletableFuture
<TestResult> The Gem will not be consumed if the attack misses or fails.static CompletableFuture
<TestResult> If the type of a move is changed with Normalize, Pixilate, Refrigerate, Aerilate, Ion Deluge, or Electrify, the Gem must match the type of the move after it has been modified.static CompletableFuture
<TestResult> If a Pokémon consumes a Power Herb using a damaging move and is immediately given a Gem of the appropriate type, that Gem will be consumed for that attack.static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> Hidden Power can consume Gems, but only if the type of the Gem matches the type of damage that will be dealt.static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> Weather Ball can consume Gems, but only if the type of the Gem matches the type of damage that will be dealt.static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon consumes a Gem for an attack and is immediately given another of the same Gem by Symbiosis, that Gem will not be consumed for that attack;static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> OHKO moves do not consume Gems.static CompletableFuture
<TestResult> Pledge moves do not consume Gems.static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> Present consumes a Gem even if it heals the target, but the amount healed is unaffected.static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).static CompletableFuture
<TestResult> Struggle does not consume Gems.static CompletableFuture
<TestResult> If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V).
-
Constructor Details
-
GemTests
public GemTests()
-
-
Method Details
-
testFireGemPowersUpFireTypeMoves
public static CompletableFuture<TestResult> testFireGemPowersUpFireTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Charmander that holds a Fire Gem and knows the move Ember faces a Wailord that knows the move Sleep Talk.
Turn 1 Charmander uses Ember. Wailord uses Sleep Talk. - We verify that the Charmander's Ember attack had a power 1.3x the power of a normal Ember. We verify that the Charmander does not have a held item. We verify that the Charmander's consumed item is a Gem.
-
testWaterGemPowersUpWaterTypeMoves
public static CompletableFuture<TestResult> testWaterGemPowersUpWaterTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Swanna that holds a Water Gem and knows the move Water Gun faces a Wailord that knows the move Sleep Talk.
Turn 1 Swanna uses Water Gun. Wailord uses Sleep Talk. - We verify that the Swanna's Water Gun attack had a power 1.3x the power of a normal Water Gun. We verify that the Swanna does not have a held item. We verify that the Swanna's consumed item is a Gem.
-
testElectricGemPowersUpElectricTypeMoves
public static CompletableFuture<TestResult> testElectricGemPowersUpElectricTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Blitzle that holds an Electric Gem and knows the move Shock Wave faces a Wailord that knows the move Sleep Talk.
Turn 1 Blitzle uses Shock Wave. Wailord uses Sleep Talk. - We verify that the Blitzle's Shock Wave attack had a power 1.3x the power of a normal Shock Wave. We verify that the Blitzle does not have a held item. We verify that the Blitzle's consumed item is a Gem.
-
testGrassGemPowersUpGrassTypeMoves
public static CompletableFuture<TestResult> testGrassGemPowersUpGrassTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, an Ivysaur that holds a Grass Gem and knows the move Vine Whip faces a Wailord that knows the move Sleep Talk.
Turn 1 Ivysaur uses Vine Whip. Wailord uses Sleep Talk. - We verify that the Ivysaur's Vine Whip attack had a power 1.3x the power of a normal Vine Whip. We verify that the Ivysaur does not have a held item. We verify that the Ivysaur's consumed item is a Gem.
-
testIceGemPowersUpIceTypeMoves
If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Vanillite that holds a Ice Gem and knows the move Avalanche faces a Wailord that knows the move Sleep Talk.
Turn 1 Vanillite uses Avalanche. Wailord uses Sleep Talk. - We verify that the Vanillite's Avalanche attack had a power 1.3x the power of a normal Avalanche. We verify that the Vanillite does not have a held item. We verify that the Vanillite's consumed item is a Gem.
-
testFightingGemPowersUpFightingTypeMoves
public static CompletableFuture<TestResult> testFightingGemPowersUpFightingTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Timburr that holds a Fighting Gem and knows the move Hammer Arm faces a Wailord that knows the move Sleep Talk.
Turn 1 Timburr uses Hammer Arm. Wailord uses Sleep Talk. - We verify that the Timburr's Hammer Arm attack had a power 1.3x the power of a normal Hammer Arm. We verify that the Timburr does not have a held item. We verify that the Timburr's consumed item is a Gem.
-
testPoisonGemPowersUpPoisonTypeMoves
public static CompletableFuture<TestResult> testPoisonGemPowersUpPoisonTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Skrelp that holds a Poison Gem and knows the move Acid faces a Wailord that knows the move Sleep Talk.
Turn 1 Skrelp uses Acid. Wailord uses Sleep Talk. - We verify that the Skrelp's Acid attack had a power 1.3x the power of a normal Acid. We verify that the Skrelp does not have a held item. We verify that the Skrelp's consumed item is a Gem.
-
testGroundGemPowersUpGroundTypeMoves
public static CompletableFuture<TestResult> testGroundGemPowersUpGroundTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Rhyhorn that holds a Ground Gem and knows the move Bulldoze faces a Wailord that knows the move Sleep Talk.
Turn 1 Rhyhorn uses Bulldoze. Wailord uses Sleep Talk. - We verify that the Rhyhorn's Bulldoze attack had a power 1.3x the power of a normal Bulldoze. We verify that the Rhyhorn does not have a held item. We verify that the Rhyhorn's consumed item is a Gem.
-
testFlyingGemPowersUpFlyingTypeMoves
public static CompletableFuture<TestResult> testFlyingGemPowersUpFlyingTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Noivern that holds a Flying Gem and knows the move Wing Attack faces a Wailord that knows the move Sleep Talk.
Turn 1 Noivern uses Wing Attack. Wailord uses Sleep Talk. - We verify that the Noivern's Wing Attack attack had a power 1.3x the power of a normal Wing Attack. We verify that the Noivern does not have a held item. We verify that the Noivern's consumed item is a Gem.
-
testPsychicGemPowersUpPsychicTypeMoves
public static CompletableFuture<TestResult> testPsychicGemPowersUpPsychicTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Natu that holds a Psychic Gem and knows the move Psyshock faces a Wailord that knows the move Sleep Talk.
Turn 1 Natu uses Psyshock. Wailord uses Sleep Talk. - We verify that the Natu's Psyshock attack had a power 1.3x the power of a normal Psyshock. We verify that the Natu does not have a held item. We verify that the Natu's consumed item is a Gem.
-
testBugGemPowersUpBugTypeMoves
If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Dewpider that holds a Bug Gem and knows the move Infestation faces a Wailord that knows the move Sleep Talk.
Turn 1 Dewpider uses Infestation. Wailord uses Sleep Talk. - We verify that the Dewpider's Infestation attack had a power 1.3x the power of a normal Infestation. We verify that the Dewpider does not have a held item. We verify that the Dewpider's consumed item is a Gem.
-
testRockGemPowersUpRockTypeMoves
public static CompletableFuture<TestResult> testRockGemPowersUpRockTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Boldore that holds a Rock Gem and knows the move Power Gem faces a Wailord that knows the move Sleep Talk.
Turn 1 Boldore uses Power Gem. Wailord uses Sleep Talk. - We verify that the Boldore's Power Gem attack had a power 1.3x the power of a normal Power Gem. We verify that the Boldore does not have a held item. We verify that the Boldore's consumed item is a Gem.
-
testGhostGemPowersUpGhostTypeMoves
public static CompletableFuture<TestResult> testGhostGemPowersUpGhostTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Drifloon that holds a Ghost Gem and knows the move Hex faces a Wailord that knows the move Sleep Talk.
Turn 1 Drifloon uses Hex. Wailord uses Sleep Talk. - We verify that the Drifloon's Hex attack had a power 1.3x the power of a normal Hex. We verify that the Drifloon does not have a held item. We verify that the Drifloon's consumed item is a Gem.
-
testDragonGemPowersUpDragonTypeMoves
public static CompletableFuture<TestResult> testDragonGemPowersUpDragonTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Axew that holds a Dragon Gem and knows the move Breaking Swipe faces a Wailord that knows the move Sleep Talk.
Turn 1 Axew uses Breaking Swipe. Wailord uses Sleep Talk. - We verify that the Axew's Breaking Swipe attack had a power 1.3x the power of a normal Breaking Swipe. We verify that the Axew does not have a held item. We verify that the Axew's consumed item is a Gem.
-
testDarkGemPowersUpDarkTypeMoves
public static CompletableFuture<TestResult> testDarkGemPowersUpDarkTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Poochyena that holds a Dark Gem and knows the move Bite faces a Wailord that knows the move Sleep Talk.
Turn 1 Poochyena uses Bite. Wailord uses Sleep Talk. - We verify that the Poochyena's Bite attack had a power 1.3x the power of a normal Bite. We verify that the Poochyena does not have a held item. We verify that the Poochyena's consumed item is a Gem.
-
testSteelGemPowersUpSteelTypeMoves
public static CompletableFuture<TestResult> testSteelGemPowersUpSteelTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Beldum that holds a Steel Gem and knows the move Iron Head faces a Wailord that knows the move Sleep Talk.
Turn 1 Beldum uses Iron Head. Wailord uses Sleep Talk. - We verify that the Beldum's Iron Head attack had a power 1.3x the power of a normal Iron Head. We verify that the Beldum does not have a held item. We verify that the Beldum's consumed item is a Gem.
-
testNormalGemPowersUpNormalTypeMoves
public static CompletableFuture<TestResult> testNormalGemPowersUpNormalTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Furret that holds a Normal Gem and knows the move Slam faces a Wailord that knows the move Sleep Talk.
Turn 1 Furret uses Slam. Wailord uses Sleep Talk. - We verify that the Furret's Slam attack had a power 1.3x the power of a normal Slam. We verify that the Furret does not have a held item. We verify that the Furret's consumed item is a Gem.
-
testFairyGemPowersUpFairyTypeMoves
public static CompletableFuture<TestResult> testFairyGemPowersUpFairyTypeMoves(BattleTestHelper helper) If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This consumes the Gem.In this test, a Spritzee that holds a Fairy Gem and knows the move Disarming Voice faces a Wailord that knows the move Sleep Talk.
Turn 1 Spritzee uses Disarming Voice. Wailord uses Sleep Talk. - We verify that the Spritzee's Disarming Voice attack had a power 1.3x the power of a normal Disarming Voice. We verify that the Spritzee does not have a held item. We verify that the Spritzee's consumed item is a Gem.
-
testGemsAreNotConsumedWhenTheAttackMissesOrFails
public static CompletableFuture<TestResult> testGemsAreNotConsumedWhenTheAttackMissesOrFails(BattleTestHelper helper) The Gem will not be consumed if the attack misses or fails.In this test, a Spritzee that holds a Fairy Gem and knows the move Disarming Voice faces a Wailord that knows the move Dive.
Turn 1 Wailord uses Dive. Spritzee uses Disarming Voice. The attack misses. - We verify that the Wailord didn't take any damage while underwater after using Dive. We verify that the Spritzee has a held item. We verify that the Spritzee's consumed item is not a Gem.
-
testGemsAreNotConsumedDuringChargingTurns
public static CompletableFuture<TestResult> testGemsAreNotConsumedDuringChargingTurns(BattleTestHelper helper) Gems are not consumed during the charging turns of two-turn moves.In this test, an Ivysaur that holds a Grass Gem and knows the move Solar Beam faces a Wailord that holds a Focus Sash and knows the move Sleep Talk.
Turn 1 Ivysaur charges up Solar Beam. Wailord uses Sleep Talk. Turn 2 Ivysaur deals damage with Solar Beam. Wailord uses Sleep Talk. - After turn 1 We verify that the Ivysaur has a held item. We verify that the Ivysaur has not consumed an item. We verify that the Wailord hasn't taken any damage. After turn 2 We verify that the Ivysaur does not have a held item. We verify that the Ivysaur's consumed item is a Gem. We verify that the Wailord took damage. We verify that the Ivysaur's Solar Beam has a power 1.3x the power of a normal Solar Beam during the damage dealing turn.
-
testGemsAreNotConsumedForInterruptedMovesOrDifferentTypeMoves
public static CompletableFuture<TestResult> testGemsAreNotConsumedForInterruptedMovesOrDifferentTypeMoves(BattleTestHelper helper) Gems are not consumed during the charging turns of multiple-turn moves. Gems are not consumed if the damage-dealing phase of a multiple-turn move is interrupted. Gems are not consumed if the type of the move is different from the type of the Gem.In this test, an Venusaur that holds a Grass Gem and knows the moves Solar Beam, Acid Spray, and Trailblaze faces a Wailord that knows the move Sleep Talk and a Nuzleaf that knows the move Fake Out.
Turn 1 Wailord switches out for Nuzleaf. Venusaur charges up Solar Beam. Turn 2 Nuzleaf uses Fake Out. Venusaur flinches and is unable to use Solar Beam. Turn 3 Nuzleaf switches out for Wailord. Venusaur uses Acid Spray. Turn 4 Venusaur uses Trailblaze. The Grass Gem is consumed. Wailord uses Sleep Talk. - After turn 1 We verify that the Venusaur has a held item. We verify that the Venusaur has not consumed an item. We verify that the Wailord hasn't taken any damage. After turn 2 We verify that the Venusaur has a held item. We verify that the Venusaur has not consumed an item. We verify that the Wailord hasn't taken any damage. After turn 3 We verify that the Venusaur has a held item. We verify that the Venusaur has not consumed an item. We verify that the Venusaur's Acid Spray does not get the 1.3x boost in power. After turn 4 We verify that the Venusaur does not have a held item. We verify that the Venusaur's consumed item is a Gem. We verify that the Venusaur's Trailblaze has a power 1.3x the power of a normal Trailblaze.
-
testGemsMustMatchTheMoveTypeAfterModifications
public static CompletableFuture<TestResult> testGemsMustMatchTheMoveTypeAfterModifications(BattleTestHelper helper) If the type of a move is changed with Normalize, Pixilate, Refrigerate, Aerilate, Ion Deluge, or Electrify, the Gem must match the type of the move after it has been modified.In this test, a Sylveon with the Pixilate ability that holds a Fairy Gem and knows the move Swift faces a Wailord that knows the move Sleep Talk.
Turn 1 Sylveon uses Swift. Wailord uses Sleep Talk. - We verify that the Sylveon's Swift attack had a power 1.3x (from Fairy Gem) and 1.2x (from Pixilate) the power of a normal Swift. We verify that the Sylveon does not have a held item. We verify that the Sylveon's consumed item is a Gem.
-
testGemDoesNotPowerUpMovesThatCallOtherMoves
public static CompletableFuture<TestResult> testGemDoesNotPowerUpMovesThatCallOtherMoves(BattleTestHelper helper) Moves that call other moves will only consume a Gem if the called move is of the appropriate type for the Gem.In this test, a Skitty that holds a Normal Gem and knows the move Assist and a Spritzee that knows the move Disarming Voice are on the same team and face a Wailord that knows the move Sleep Talk.
Turn 1 Skitty uses Assist. Skitty uses the Spritzee's Disarming Voice. Wailord uses Sleep Talk. - We verify that the Skitty's Assist's Disarming Voice attack does not have its power increased. We verify that the Skitty has a held item. We verify that the Skitty's consumed item is a not Gem.
-
testGemPowersUpMovesCalledByOtherMoves
public static CompletableFuture<TestResult> testGemPowersUpMovesCalledByOtherMoves(BattleTestHelper helper) Moves that call other moves will only consume a Gem if the called move is of the appropriate type for the Gem.In this test, a Skitty that holds a Fairy Gem and knows the move Assist and a Spritzee that knows the move Disarming Voice are on the same team and face a Wailord that knows the move Sleep Talk.
Turn 1 Skitty uses Assist. Skitty uses the Spritzee's Disarming Voice. Wailord uses Sleep Talk. - We verify that the Skitty's Assist's Disarming Voice attack had a power 1.3x the power of a normal Disarming Voice. We verify that the Skitty does not have a held item. We verify that the Skitty's consumed item is a Gem.
-
testGemsPowerUpHiddenPowers
Hidden Power can consume Gems, but only if the type of the Gem matches the type of damage that will be dealt.In this test, a Beldum that holds a Steel Gem and knows the move Hidden Power (Steel) faces a Wailord that knows the move Sleep Talk.
Turn 1 Beldum uses Hidden Power. Wailord uses Sleep Talk. - We verify that the Beldum's Hidden Power is Steel-type. We verify that the Beldum's Hidden Power (Steel) attack had a power 1.3x the power of a normal Hidden Power. We verify that the Beldum does not have a held item. We verify that the Beldum's consumed item is a Gem.
-
testGemsPowerUpWeatherBalls
Weather Ball can consume Gems, but only if the type of the Gem matches the type of damage that will be dealt.In this test, a Torkoal with the ability Drought that holds a Fire Gem and knows the move Weather Ball faces a Wailord that knows the move Sleep Talk.
Turn 0 Torkoal's ability Drought activates. Turn 1 Torkoal uses Weather Ball. It becomes Fire-type from the Sunny weather. Wailord uses Sleep Talk. - We verify that the Torkoal's Weather Ball is Fire-type. We verify that the Torkoal's Weather Ball (Fire) attack had a power 1.3x the power of a normal Weather Ball. We verify that the Torkoal does not have a held item. We verify that the Torkoal's consumed item is a Gem.
-
testIdenticalGemsPassedViaSymbiosisAreNotUsed
public static CompletableFuture<TestResult> testIdenticalGemsPassedViaSymbiosisAreNotUsed(BattleTestHelper helper) If a Pokémon consumes a Gem for an attack and is immediately given another of the same Gem by Symbiosis, that Gem will not be consumed for that attack;In this test, during a Double Battle, a Genesect that holds a Normal Gem and knows the move Techno Blast is on a team with a Oranguru with the ability Symbiosis that holds a Normal Gem and knows the move Sleep Talk. They face a Wailord that knows the move Sleep Talk.
Turn 1 Genesect uses Techno Blast. The Normal Gem is consumed and Techno Blast is used as a Normal-type move. Oranguru's Symbiosis activates and passes its Normal Gem to Genesect. Wailord uses Sleep Talk. Oranguru uses Sleep Talk. - We verify that the Genesect has a held item. We verify that the Genesect's consumed item is a Gem.
-
testGemsPassedAfterUsingPowerHerbAreConsumedOnTheSameTurn
public static CompletableFuture<TestResult> testGemsPassedAfterUsingPowerHerbAreConsumedOnTheSameTurn(BattleTestHelper helper) If a Pokémon consumes a Power Herb using a damaging move and is immediately given a Gem of the appropriate type, that Gem will be consumed for that attack.In this test, an Ivysaur that holds a Power Herb and knows the move Solar Beam is on a team with an Oranguru with the Symbiosis ability that holds a Grass Gem and knows Sleep Talk. They face a Wailord that knows the move Sleep Talk.
Turn 1 Ivysaur uses Solar Beam. Ivysaur's Power Herb activates and Ivysaur skips charging it Solar Beam. The Oranguru's Symbiosis activates and its Grass Gem is passed to the Ivysaur. The Grass Gem is consumed to increase the Solar Beam's power. Wailord uses Sleep Talk. Oranguru uses Sleep Talk. - We verify that the Wailord is not at full health. We verify that the Ivysaur's consumed item is a Gem. We verify that the Ivysaur does not have a held item. We verify that the Ivysaur's Solar Beam had a power 1.3x the power of a normal Solar Beam.
-
testGemsAreConsumedButDoNotAffectDamageMovesWithNoBasePower
public static CompletableFuture<TestResult> testGemsAreConsumedButDoNotAffectDamageMovesWithNoBasePower(BattleTestHelper helper) Fixed-damage moves (such as Dragon Rage, Counter, and Endeavor) will consume Gems but will not have their damage modified.In this test, a Dragonair that holds a Dragon Gem and knows the move Dragon Rage and a Crawdaunt1 that holds a Fighting Gem and knows the move Counter are on the same team and face a Crawdaunt that holds a Normal Gem and knows the move Endeavor and an Dedenne that holds a Normal Gem and knows the move Super Fang.
Turn 1 Dedenne consumes its Normal Gem and uses Super Fang on the Dragonair. Dragonair consumes its Dragon Gem and uses Dragon Rage on the Crawdaunt2. Crawdaunt2 consumes its Normal Gem and uses Endeavor on the Crawdaunt1. Crawdaunt1 consumes its Fighting Gem and uses Counter which deals damage to Crawdaunt2. Turn 2 Dedenne uses Super Fang on the Dragonair. Dragonair uses Dragon Rage on the Crawdaunt2. Crawdaunt2 uses Endeavor on the Crawdaunt1. Crawdaunt1 uses Counter and deals damage to Crawdaunt2. - After turn 1: We verify that the Dragonair does not have a held item. We verify that the Dragonair's consumed item is a Gem. We verify that the Crawdaunt1 does not have a held item. We verify that the Crawdaunt1's consumed item is a Gem. We verify that the Crawdaunt2 does not have a held item. We verify that the Crawdaunt2's consumed item is a Gem. We verify that the Dedenne does not have a held item. We verify that the Dedenne's consumed item is a Gem. After turn 2: We verify that the Dragonair's Dragon Rage during turn 2 did not deal more damage than it did during turn 1. We verify that the Crawdaunt1's Counter during turn 2 did not deal more damage than it did during turn 1. We verify that the Crawdaunt2's Endeavor during turn 2 did not deal more damage than it did during turn 1. We verify that the Dedenne's Super Fang during turn 2 did not deal more damage than it did during turn 1.
-
testPresentConsumesGemsEvenIfItHealsTheTarget
public static CompletableFuture<TestResult> testPresentConsumesGemsEvenIfItHealsTheTarget(BattleTestHelper helper) Present consumes a Gem even if it heals the target, but the amount healed is unaffected.In this test, a Delibird that holds a Normal Gem and knows the move Present faces a Wailord that knows the move Sleep Talk.
Turn 1 Delibird uses Present. Wailord uses Sleep Talk. - We verify that the Delibird's attack healed the opponent, otherwise the test will just succeed. We verify that the Delibird does not have a held item. We verify that the Delibird's consumed item is a Gem.
-
testFlingFailsToThrowGems
Fling fails if the user is holding a Gem.In this test, a Charmander that holds a Fire Gem and knows the move Fling faces a Wailord that knows the move Sleep Talk.
Turn 1 Charmander uses Fling. The move fails. Wailord uses Sleep Talk. - We verify that the Wailord is at full health. We verify that the Charmander has a held item.
-
testOneHitKOMovesDoNotConsumeGems
public static CompletableFuture<TestResult> testOneHitKOMovesDoNotConsumeGems(BattleTestHelper helper) OHKO moves do not consume Gems.In this test, a Rhyhorn that holds a Normal Gem and knows the move Horn Drill faces a Wailord that knows the move Sleep Talk.
Turn 1 Rhyhorn uses Horn Drill. Wailord uses Sleep Talk. - We verify that the Wailord is at full health. We verify that the Rhyhorn has a held item.
-
testStruggleDoesNotConsumeGems
Struggle does not consume Gems.In this test, a Rhyhorn that holds a Normal Gem and that doesn't know any move faces a Wailord that knows the move Sleep Talk.
Turn 1 Rhyhorn uses Struggle. Wailord uses Sleep Talk. - We verify that the Rhyhorn has a held item. We verify that the Rhyhorn does not have a Gem as a consumed item.
-
testPledgeMovesDoNotConsumeGems
public static CompletableFuture<TestResult> testPledgeMovesDoNotConsumeGems(BattleTestHelper helper) Pledge moves do not consume Gems.In this test, a Charmander that holds a Fire Gem and knows the move Fire Pledge faces a Wailord that knows the move Sleep Talk.
Turn 1 Charmander uses Fire Pledge. Wailord uses Sleep Talk. - We verify that the Charmander has a held item. We verify that the Charmander does not have a Gem as its consumed item.
-
testGemsPowerUpReversal
If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This affects moves, such as Reversal, that may vary in power.In this test, a Mienshao that holds a Fighting Gem and knows the move Reversal faces a Wailord that knows the move Sleep Talk.
Turn 1 Mienshao uses Reversal. Wailord uses Sleep Talk. - We verify that the Mienshao's Reversal attack had a power 1.3x the power of a normal Reversal. We verify that the Mienshao does not have a held item. We verify that the Mienshao's consumed item is a Gem.
-
testGemsPowerUpBeatUp
If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This affects moves, such as Beat Up, that may vary in power.In this test, a Scrafty that holds a Dark Gem and knows the move Beat Up faces a Wailord that knows the move Sleep Talk.
Turn 1 Scrafty uses Beat Up. Wailord uses Sleep Talk. - We verify that the Scrafty's Beat Up attack had a power 1.3x the power of a normal Beat Up. We verify that the Scrafty does not have a held item. We verify that the Scrafty's consumed item is a Gem.
-
testGemsPowerUpHeatCrash
If a Pokémon holding a Gem uses a damaging move of the corresponding type, that move's power is boosted by 30% (50% in Generation V). This affects moves, such as Heat Crash, that may vary in power.In this test, a Pignite that holds a Fire Gem and knows the move Heat Crash faces a Wailord that knows the move Sleep Talk.
Turn 1 Pignite uses Heat Crash. Wailord uses Sleep Talk. - We verify that the Pignite's Heat Crash attack had a power 1.3x the power of a normal Heat Crash. We verify that the Pignite does not have a held item. We verify that the Pignite's consumed item is a Gem.
-