Class InnardsOutTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult> testInnardsOut(BattleTestHelper helper) When a Pokémon with this Ability is knocked out by an opponent's attack, it deals damage to that opponent equal to the amount of HP it had left before last being hit.static CompletableFuture<TestResult> If a Pokémon with this Ability moves first and is then knocked out by Core Enforcer, Innards Out will not activate.static CompletableFuture<TestResult> If a Pokémon with this Ability faints through Future Sight or Doom Desire, Innards Out will only activate if the user of the move is still on the field.static CompletableFuture<TestResult> If a Pokémon with this Ability faints through Future Sight or Doom Desire, Innards Out will only activate if the user of the move is still on the field.static CompletableFuture<TestResult> When a Pokémon with this Ability is knocked out by poison damage, it should not deal damage to anyone.static CompletableFuture<TestResult> When a Pokémon with this Ability is knocked out by weather damage, it should not deal damage to anyone.static CompletableFuture<TestResult> If Innards Out causes two opposing Pokémon to faint at the same time, and neither party has any remaining Pokémon, then the Pokémon that activated Innards Out loses.static CompletableFuture<TestResult> If a Pokémon with this ability is knocked out by a multistrike move, only the amount of HP it had before the last hit will be counted.
-
Constructor Details
-
InnardsOutTests
public InnardsOutTests()
-
-
Method Details
-
testInnardsOut
When a Pokémon with this Ability is knocked out by an opponent's attack, it deals damage to that opponent equal to the amount of HP it had left before last being hit.In this test, a Pyukumuku with the Innards Out ability that knows Sleep Talk faces a Zekrom that knows Bolt Strike. The Pyukumuku also has a Magikarp on its team to have switch in after the Pyukumuku faints.
Turn 1 The Zekrom uses Bolt Strike. The Pyukumuku faints. The Pyukumuku's Innards Out activates. The Magikarp switches in. - After Turn 1 We verify that the Pyukumuku fainted. We verify that the Zekrom has taken damage equal to the Pyukumuku's maximum HP. -
testInnardsOutVsFutureSightUser
public static CompletableFuture<TestResult> testInnardsOutVsFutureSightUser(BattleTestHelper helper) If a Pokémon with this Ability faints through Future Sight or Doom Desire, Innards Out will only activate if the user of the move is still on the field.In this test, a Pyukumuku at 50% HP with the Innards Out ability that knows Sleep Talk faces a Mewtwo that knows Future Sight and Sleep Talk. The Pyukumuku also has a Magikarp on its team to have switch in after the Pyukumuku faints.
Turn 1 The Mewtwo uses Future Sight. The Pyukumuku uses Sleep Talk. Turn 2 The Mewtwo uses Sleep Talk. The Pyukumuku uses Sleep Talk. Turn 3 The Mewtwo uses Sleep Talk. The Pyukumuku uses Sleep Talk. The Pyukumuku then faints from the Future Sight. The Pyukumuku's Innards Out activates and the Magikarp switches in. - After Turn 3 We verify that the Pyukumuku fainted. We verify that the Mewtwo has taken damage equal to the Pyukumuku's HP before Pyukumuku was hit by Future Sight. -
testInnardsOutVsNonFutureSightUser
public static CompletableFuture<TestResult> testInnardsOutVsNonFutureSightUser(BattleTestHelper helper) If a Pokémon with this Ability faints through Future Sight or Doom Desire, Innards Out will only activate if the user of the move is still on the field.In this test, a Pyukumuku at 50% HP with the Innards Out ability that knows Sleep Talk faces a Mewtwo that knows Future Sight as well as a Mew that knows Splash. The Pyukumuku also has a Magikarp on its team to have switch in after the Pyukumuku faints.
Turn 1 The Mewtwo uses Future Sight. The Pyukumuku uses Sleep Talk. Turn 2 The Mewtwo switches out. The Mew switches in. The Pyukumuku uses Sleep Talk. Turn 3 The Mew uses Splash. The Pyukumuku uses Sleep Talk. The Pyukumuku then faints from the Future Sight. The Pyukumuku's Innards Out activates. The Magikarp switches in. - After Turn 3 We verify that the Pyukumuku fainted. We verify that the Mew has not taken any damage. -
testInnardsOutVsCoreEnforcer
If a Pokémon with this Ability moves first and is then knocked out by Core Enforcer, Innards Out will not activate.In this test, a Pyukumuku at 20% HP with the Innards Out ability that holds a Quick Claw and knows Taunt faces a Zygarde 50%-form that knows Core Enforcer. The Pyukumuku also has a Magikarp on its team to have switch in after the Pyukumuku faints.
Turn 1 The Pyukumuku's Quick Claw activates and allows its to go first. The Pyukumuku uses Taunt. The Zygarde uses Core Enforcer. The Pyukumuku faints. The Pyukumuku's Innards Out does not activate. The Magikarp switches in. - After Turn 1 We verify that the Pyukumuku fainted. We verify that the Zygarde has the Taunt status. We verify that the Zygarde has not taken any damage. -
testInnardsOutWinsBattle
If Innards Out causes two opposing Pokémon to faint at the same time, and neither party has any remaining Pokémon, then the Pokémon that activated Innards Out loses.In this test, a Pyukumuku with the Innards Out ability that knows Sleep Talk faces a Zekrom at 50% HP that knows Bolt Strike.
Turn 1 The Zekrom uses Bolt Strike. The Pyukumuku faints. The Pyukumuku's Innards Out activates and deals damage to the Zekrom. The Zekrom faints. - After Turn 1 We verify that the Pyukumuku fainted. We verify that the Zekrom fainted. We verify that the Pyukumuku's team won the battle We verify that the Zekrom' team lost the battle. -
testInnardsOutWinsBattleGoingFirst
public static CompletableFuture<TestResult> testInnardsOutWinsBattleGoingFirst(BattleTestHelper helper) If a Pokémon with this ability is knocked out by a multistrike move, only the amount of HP it had before the last hit will be counted.In this test, a Pyukumuku with the Innards Out ability that knows Aqua Jet faces a Zekrom at 50% HP that knows Bolt Strike. The Pyukumuku also has a Magikarp on its team to have switch in after the Pyukumuku faints.
Turn 1 The Pyukumuku uses Aqua Jet. The Zekrom uses Bolt Strike. The Pyukumuku faints. The Pyukumuku's Innards Out activates and deals damage to the Zekrom. The Zekrom faints. - After Turn 1 We verify that the Pyukumuku fainted. We verify that the Zekrom fainted. We verify that the Pyukumuku's team won the battle We verify that the Zekrom' team lost the battle. -
testInnardsOutVsWeather
When a Pokémon with this Ability is knocked out by weather damage, it should not deal damage to anyone.In this test, a Pyukumuku at 3% HP with the Innards Out ability that knows Sleep Talk faces a Hippowdon with the Sand Stream ability that knows Sleep Talk. The Pyukumuku also has a Magikarp on its team to have switch in after the Pyukumuku faints.
Before Turn 1 The Hippowdon' Sand Stream activates and a sandstorm begins. Turn 1 The Hippowdon uses Sleep Talk. The Pyukumuku uses Sleep Talk. The Pyukumuku takes damage from the sandstorm and faints. The Pyukumuku's Innards Out does not activate. The Magikarp switches in. - After Turn 1 We verify that the Pyukumuku fainted. We verify that the Hippowdon hasn't taken any damage. -
testInnardsOutVsPoison
When a Pokémon with this Ability is knocked out by poison damage, it should not deal damage to anyone.In this test, a Pyukumuku at 3% HP with the Innards Out ability that knows Sleep Talk faces a Skorupi that knows Toxic. The Pyukumuku also has a Magikarp on its team to have switch in after the Pyukumuku faints.
Before Turn 1 The Skorupi' Sand Stream activates and a sandstorm begins. Turn 1 The Skorupi uses Toxic. The Pyukumuku becomes badly poisoned. The Pyukumuku uses Sleep Talk. The Pyukumuku takes damage from the poison and faints. The Pyukumuku's Innards Out does not activate. The Magikarp switches in. - After Turn 1 We verify that the Pyukumuku fainted. We verify that the Skorupi hasn't taken any damage.
-