Class PainSplitTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> Pain Split does not employ type effectiveness, so it can also affect Ghost-type Pokémon.static CompletableFuture
<TestResult> Pain Split adds the current HP of the user and target Pokémon.static CompletableFuture
<TestResult> The damage dealt by Pain Split should not increase the power of Assurance.static CompletableFuture
<TestResult> This setting of HP is not subject to effects such as Bide.static CompletableFuture
<TestResult> This setting of HP is not subject to effects such as Counter.static CompletableFuture
<TestResult> The damage dealt by Pain Split should not increase the power of Revenge.static CompletableFuture
<TestResult> Pain Split fails if the target is behind a substitute.static CompletableFuture
<TestResult> Pain Split averages the two Pokémon's non-Dynamax HP, then changes each Pokémon's HP by that difference.
-
Constructor Details
-
PainSplitTests
public PainSplitTests()
-
-
Method Details
-
testPainSplitAveragesCurrentHP
Pain Split adds the current HP of the user and target Pokémon. It then divides this value by two, rounds down if necessary, and increases or decreases the HP of each Pokémon to become equal to the result (limited by each Pokémon's maximum HP).In this test, a Stufful at 25% HP that knows the move Pain Split faces a Bewear at 75% HP that knows Sleep Talk.
Turn 1 The Bewear uses Sleep Talk. The Stufful uses Pain Split on the Bewear. - Before Turn 1 We get the HP of each Pokémon and calculate the average value. After Turn 1 We verify that the HP of each Pokémon is at the HP previously calculated.
-
testPainSplitDoesNotAffectCounter
public static CompletableFuture<TestResult> testPainSplitDoesNotAffectCounter(BattleTestHelper helper) This setting of HP is not subject to effects such as Counter.In this test, a Stufful at 25% HP that knows the move Pain Split faces an Obstagoon at 75% HP that knows Counter.
Turn 1 The Stufful uses Pain Split on the Obstagoon. The Obstagoon uses Counter (-5 priority). - Before Turn 1 We get the HP of each Pokémon and calculate the average value. After Turn 1 We verify that the HP of each Pokémon is at the HP previously calculated. Counter should have failed and dealt no damage.
-
testPainSplitDoesNotAffectBide
This setting of HP is not subject to effects such as Bide.In this test, a Stufful at 25% HP that knows the moves Pain Split and Sleep Talk faces an Obstagoon at 75% HP that knows the move Bide.
Turn 1 The Obstagoon uses Bide. The Obstagoon begins storing energy. The Stufful uses Pain Split on the Obstagoon. Turn 2 The Obstagoon uses Bide. The Obstagoon is still storing energy. The Stufful uses Pain Split on the Obstagoon. Nothing changes. Turn 3 The Obstagoon uses Bide. The Obstagoon unleashes its stored energy. The Stufful uses Sleep Talk. - Before Turn 1 We get the HP of each Pokémon and calculate the average value. After Turn 1 We verify that the HP of each Pokémon is at the HP previously calculated. After Turn 2 We verify that the HP of each Pokémon has not changed. After Turn 3 We verify that the HP of each Pokémon has not changed because the Obstagoon's Bide failed.
-
testPainSplitAffectsGhostTypes
Pain Split does not employ type effectiveness, so it can also affect Ghost-type Pokémon.In this test, a Stufful at 25% HP that knows the move Pain Split faces a Mismagius at 75% HP that knows Sleep Talk.
Turn 1 The Mismagius uses Sleep Talk. The Stufful uses Pain Split on the Mismagius. - Before Turn 1 We get the HP of each Pokémon and calculate the average value. After Turn 1 We verify that the HP of each Pokémon is at the HP previously calculated.
-
testPainSplitFailsAgainstSubstitutes
public static CompletableFuture<TestResult> testPainSplitFailsAgainstSubstitutes(BattleTestHelper helper) Pain Split fails if the target is behind a substitute.In this test, a Stufful at 25% HP that knows the move Pain Split faces a Bewear at 100% HP that knows Substitute.
Turn 1 The Bewear uses Substitute. The Stufful uses Pain Split on the Bewear. - After Turn 1 We verify that the HP of the Stufful hasn't changed.
-
testPainSplitDoesNotAffectAssurance
public static CompletableFuture<TestResult> testPainSplitDoesNotAffectAssurance(BattleTestHelper helper) The damage dealt by Pain Split should not increase the power of Assurance.In this test, a Stufful at 25% HP that knows the move Pain Split faces a Pincurchin at 75% HP that knows the move Assurance.
Turn 1 The Stufful uses Pain Split on the Pincurchin. The Pincurchin uses Assurance. - Before Turn 1 We get the HP of each Pokémon and calculate the average value. After Turn 1 We verify that the HP of the Pincurchin is at the HP previously calculated. We verify that the Pincurchin's Assurance attack did not have its power increased.
-
testPainSplitDoesNotAffectRevenge
public static CompletableFuture<TestResult> testPainSplitDoesNotAffectRevenge(BattleTestHelper helper) The damage dealt by Pain Split should not increase the power of Revenge.In this test, a Stufful at 25% HP that knows the move Pain Split faces a Throh at 75% HP that knows Revenge.
Turn 1 The Stufful uses Pain Split on the Throh. The Throh uses Revenge (-4 priority). - Before Turn 1 We get the HP of each Pokémon and calculate the average value. After Turn 1 We verify that the HP of the Throh is at the HP previously calculated. We verify that the Throh's Revenge attack did not have its power increased.
-
testPainSplitIgnoresExtraDynamaxHP
public static CompletableFuture<TestResult> testPainSplitIgnoresExtraDynamaxHP(BattleTestHelper helper) Pain Split averages the two Pokémon's non-Dynamax HP, then changes each Pokémon's HP by that difference.In this test, a Stufful at 25% HP that knows the move Pain Split faces a Bewear at 75% HP that knows Payback.
Turn 1 The Bewear Dynamaxes. The Bewear attempts to us Max Darkness, but is asleep. The Stufful uses Pain Split on the Bewear. - Before Turn 1 We get the HP of each Pokémon (before Dynamaxing) and calculate the average value. After Turn 1 We verify that the HP of the Stufful is at the HP previously calculated. We verify that the Bewear has lost the same amount of HP, despite Dynamaxing.
-