Class ZenModeTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> Role Play and Doodle fail if either Pokémon has Zen Mode.static CompletableFuture
<TestResult> Zen Mode cannot be copied by Trace.static CompletableFuture
<TestResult> Zen Mode cannot be copied by Power of Alchemy or Receiver.static CompletableFuture
<TestResult> Skill Swap and Entrainment fail if either Pokémon has Zen Mode.static CompletableFuture
<TestResult> Zen Mode cannot be replaced by Mummy or Lingering Aroma.static CompletableFuture
<TestResult> Zen Mode cannot be suppressed by Core Enforcer or Neutralizing Gas.static CompletableFuture
<TestResult> Gastro Acid, Worry Seed, and Simple Beam fail if the target has Zen Mode.static CompletableFuture
<TestResult> Zen Mode cannot be traded by Wandering Spirit.static CompletableFuture
<TestResult> At the start of battle or at the end of a turn, if the HP of a Standard Mode Darmanitan with the Ability Zen Mode is at or below half of its maximum HP, it will change into its Zen Mode.static CompletableFuture
<TestResult> At the start of battle or at the end of a turn, if the HP of a Standard Mode Darmanitan with the Ability Zen Mode is at or below half HP, it will change into its Zen Mode.
-
Constructor Details
-
ZenModeTests
public ZenModeTests()
-
-
Method Details
-
testZenModeChangesFormAtLessThanHalfHP
public static CompletableFuture<TestResult> testZenModeChangesFormAtLessThanHalfHP(BattleTestHelper helper) At the start of battle or at the end of a turn, if the HP of a Standard Mode Darmanitan with the Ability Zen Mode is at or below half HP, it will change into its Zen Mode. At the end of a turn, if the HP of a Zen Mode Darmanitan with the Ability Zen Mode is above half, it will change into its Standard Mode.In this test, a level 50 Darmanitan with the Zen Mode ability that knows the moves Sleep Talk and Rest faces a level 100 Gallade that knows the moves False Swipe and Sleep Talk.
Turn 1 The Darmanitan uses Sleep Talk. The Gallade uses False Swipe on the Darmanitan. Turn 2 The Darmanitan uses Rest. The Darmanitan recovers all of its missing HP. The Gallade uses Sleep Talk. - Before Turn 1: We verify that the Darmanitan's form is Standard Mode. After Turn 1: We verify that the Darmanitan's HP is less than 50%. We verify that the Darmanitan's form is Zen Mode. After Turn 2: We verify that the Darmanitan's HP is more than 50%. We verify that the Darmanitan's form is Standard Mode.
-
testZenModeChangesFormAtExactlyHalfHP
public static CompletableFuture<TestResult> testZenModeChangesFormAtExactlyHalfHP(BattleTestHelper helper) At the start of battle or at the end of a turn, if the HP of a Standard Mode Darmanitan with the Ability Zen Mode is at or below half of its maximum HP, it will change into its Zen Mode.In this test, a Darmanitan with 4 HP EVs, with the Zen Mode ability, and that knows the move Belly Drum faces a Gallade that knows the move Sleep Talk.
Turn 1 The Darmanitan uses Belly Drum. The Gallade uses Sleep Talk. - Before Turn 1: We verify that the Darmanitan's form is Standard Mode. We verify that the Darmanitan's maximum HP is an even number. After Turn 1: We verify that the Darmanitan's HP is exactly 50% of its maximum HP. We verify that the Darmanitan's form is Zen Mode.
-
testZenModeCannotBeSuppressedOrChanged
public static CompletableFuture<TestResult> testZenModeCannotBeSuppressedOrChanged(BattleTestHelper helper) Gastro Acid, Worry Seed, and Simple Beam fail if the target has Zen Mode.In this test, a Darmanitan with the Zen Mode ability that knows the move Sleep Talk is on a team with a Poipole that knows the move Gastro Acid. They face a Skiddo that knows the move Worry Seed and a Swoobat that knows the move Simple Beam.
Turn 1 The Swoobat uses Simple Beam on the Darmanitan. The Darmanitan uses Sleep Talk. The Poipole uses Gastro Acid on the Darmanitan. The Skiddo uses Worry Seed on the Darmanitan. - We verify that the Darmanitan's ability is Zen Mode.
-
testZenModeCannotBeOverridden
Skill Swap and Entrainment fail if either Pokémon has Zen Mode.In this test, a Darmanitan with the Zen Mode ability that knows the move Entrainment faces a Wynaut that knows the move Skill Swap.
Turn 1 The Darmanitan uses Entrainment on the Wynaut. The Wynaut uses Skill Swap on the Darmanitan. - We verify that the Darmanitan's ability is Zen Mode. We verify that the Wynaut's ability is not Zen Mode.
-
testZenModeCannotBeCopied
Role Play and Doodle fail if either Pokémon has Zen Mode.In this test, a Darmanitan with the Zen Mode ability that knows the move Sleep Talk faces a Stantler that knows the move Role Play and a Grafaiai that knows the move Doodle.
Turn 1 The Grafaiai uses Doodle on the Darmanitan. The Darmanitan uses Sleep Talk. The Stantler uses Role Play on the Darmanitan. - We verify that the Grafaiai's ability is not Zen Mode. We verify that the Stantler's ability is not Zen Mode.
-
testZenModeCannotBeCopiedByTrace
public static CompletableFuture<TestResult> testZenModeCannotBeCopiedByTrace(BattleTestHelper helper) Zen Mode cannot be copied by Trace.In this test, a Darmanitan with the Zen Mode ability that knows the move Sleep Talk faces a Kirlia with the Trace ability that knows the move Sleep Talk.
Before Turn 1 The Kirlia's Trace should fail to copy the Darmanitan's Zen Mode. Turn 1 The Darmanitan uses Sleep Talk. The Kirlia uses Sleep Talk. - We verify that the Kirlia's ability is not Zen Mode.
-
testZenModeCannotBeCopiedUponFainting
public static CompletableFuture<TestResult> testZenModeCannotBeCopiedUponFainting(BattleTestHelper helper) Zen Mode cannot be copied by Power of Alchemy or Receiver.In this test, a Darmanitan with the Zen Mode ability that knows the move Sleep Talk is on a team with a Passimian with the Receiver ability that also knows Sleep Talk. They face an Articuno that knows the move Sheer Cold.
Turn 1 The Darmanitan uses Sleep Talk. The Articuno uses Sheer Cold on the Darmanitan. The Darmanitan faints. The Passimian uses Sleep Talk. - We verify that the Passimian's ability is not Zen Mode.
-
testZenModeCannotBeOverriddenViaContact
public static CompletableFuture<TestResult> testZenModeCannotBeOverriddenViaContact(BattleTestHelper helper) Zen Mode cannot be replaced by Mummy or Lingering Aroma.In this test, two Darmanitan with the Zen Mode ability that know the move Fire Fang face a Yamask with the Mummy ability that knows the move Sleep Talk and a male Oinkologne with the Lingering Aroma ability that also knows Sleep Talk.
Turn 1 The first Darmanitan uses Fire Fang on the Yamask. The second Darmanitan uses Fire Fang on the Oinkologne. The Yamask uses Sleep Talk. The Oinkologne uses Sleep Talk. - We verify that the first Darmanitan's ability is Zen Mode. We verify that the second Darmanitan's ability is Zen Mode.
-
testZenModeCannotBeSuppressed
Zen Mode cannot be suppressed by Core Enforcer or Neutralizing Gas.In this test, two Darmanitan with the Zen Mode ability that know the move Sleep Talk face a 10% forme Zygarde that knows the move Core Enforcer and a Koffing with the Neutralizing Gas ability that knows Sleep Talk.
Before Turn 1 The Koffing's Neutralizing Gas activates. Turn 1 The Zygarde uses Core Enforcer on both Darmanitan. The first Darmanitan uses Sleep Talk. The second Darmanitan uses Sleep Talk. The Koffing uses Sleep Talk. - We verify that the first Darmanitan's ability is Zen Mode. We verify that the second Darmanitan's ability is Zen Mode.
-
testZenModeCannotBeTradedByWanderingSpirit
public static CompletableFuture<TestResult> testZenModeCannotBeTradedByWanderingSpirit(BattleTestHelper helper) Zen Mode cannot be traded by Wandering Spirit.In this test, a Darmanitan with the Zen Mode ability that knows the move Fire Fang faces a Runerigus with the Wandering Spirit ability that knows the move Sleep Talk.
Turn 1 The Darmanitan uses Fire Fang on the Runerigus. The Runerigus uses Sleep Talk. - We verify that the Darmanitan's ability is Zen Mode.
-