Class NightShadeTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.move.NightShadeTests
Tests for Night Shade
and Seismic Toss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult> testNightShade(BattleTestHelper helper) Night Shade inflicts damage equal to the user's level.static CompletableFuture<TestResult> From Generation II and onwards, Night Shade cannot affect Normal-types.static CompletableFuture<TestResult> The target of a Night Shade attack should be able to eat a berry after taking damage.static CompletableFuture<TestResult> Night Shade and Submission hit twice when used with the Parental Bond ability.static CompletableFuture<TestResult> Submission inflicts damage equal to the user's level and makes contact.
-
Constructor Details
-
NightShadeTests
public NightShadeTests()
-
-
Method Details
-
testNightShade
Night Shade inflicts damage equal to the user's level.In this test, a Blacephalon that knows Night Shade faces a Golett that knows Sleep Talk.
Turn 1 The Blacephalon uses Night Shade. The Golett uses Sleep Talk. - After Turn 1 We verify that the Blacephalon is level 100. We verify that the Golett took 100 points of damage. We verify that the Blacephalon's Night Shade has a base power of 0. We verify that the Blacephalon's Night Shade has a priority of 0. We verify that the Blacephalon's Night Shade was recorded as dealing 100 damage. We verify that the Blacephalon's Night Shade has recorded as potentially dealing only 100 damage. -
testNightShadeAgainstNormalTypes
public static CompletableFuture<TestResult> testNightShadeAgainstNormalTypes(BattleTestHelper helper) From Generation II and onwards, Night Shade cannot affect Normal-types.In this test, a Blacephalon that knows Night Shade faces a Bouffalant that knows Sleep Talk.
Turn 1 The Blacephalon uses Night Shade. The Bouffalant uses Sleep Talk. - After Turn 1 We verify that the Blacephalon is level 100. We verify that the Bouffalant took 0 points of damage. We verify that the Blacephalon's Night Shade has a base power of 0. We verify that the Blacephalon's Night Shade has a priority of 0. We verify that the Blacephalon's Night Shade was recorded as dealing 0 damage. We verify that the Blacephalon's Night Shade has recorded as potentially dealing only 0 damage. -
testNightShadeWithParentalBond
Night Shade and Submission hit twice when used with the Parental Bond ability.In this test, a Kangaskhan holding a Kangaskhanite that knows Night Shade faces a Golett that knows Sleep Talk. Kangaskhan can learn Seismic Toss in some generations, which has the same effect as Night Shade, but this scenario would primarily occur with a move that calls other moves.
Turn 1 The Kangaskhan mega evolves and gains the Parental Bond ability. The Kangaskhan uses Night Shade. The Golett uses Sleep Talk. - After Turn 1 We verify that the Kangaskhan is level 100. We verify that the Golett took 200 points of damage. We verify that the move results of the Kangaskhan's Night Shade recorded two hits. We verify that each hit of the Kangaskhan's Night Shade had a base power of 0. We verify that each hit of the Kangaskhan's Night Shade had recorded as dealing 100 damage. We verify that each hit of the Kangaskhan's Night Shade had recorded as only have the potential to deal 100 damage. We verify that each hit of the Kangaskhan's Night Shade had an attack result of "hit". We verify that the Kangaskhan's Night Shade had a total base power of 0. We verify that the Kangaskhan's Night Shade had a priority of 0. We verify that the Kangaskhan's Night Shade was recorded as dealing 200 damage in total. We verify that the Kangaskhan's Night Shade was recorded as potentially dealing only 200 damage in total. -
testNightShadeAndEatingBerry
The target of a Night Shade attack should be able to eat a berry after taking damage.In this test, a Blacephalon that knows Night Shade faces a Feebas that knows Sleep Talk.
Turn 1 The Blacephalon uses Night Shade. The Feebas uses Sleep Talk. - After Turn 1 We verify that the Blacephalon is level 100. We verify that the Feebas no longer has a held item. We verify that the Blacephalon's Night Shade has a base power of 0. We verify that the Blacephalon's Night Shade has a priority of 0. We verify that the Blacephalon's Night Shade was recorded as dealing 100 damage. We verify that the Blacephalon's Night Shade has recorded as potentially dealing only 100 damage. -
testSeismicTossMakesContact
Submission inflicts damage equal to the user's level and makes contact.In this test, an Iron Hands that knows Seismic Toss faces a Throh that holds a Rocky Helmet and knows Sleep Talk.
Turn 1 The Iron Hands uses Seismic Toss. The Throh uses Sleep Talk. - After Turn 1 We verify that the Iron Hands is level 100. We verify that the Throh took 100 points of damage. We verify that the Iron Hands' Seismic Toss has a base power of 0. We verify that the Iron Hands' Seismic Toss has a priority of 0. We verify that the Iron Hands' Seismic Toss was recorded as dealing 100 damage. We verify that the Iron Hands' Seismic Toss has recorded as potentially dealing only 100 damage. We verify that the Iron Hands' Seismic Toss was recorded as making contact. We verify that the Iron Hands' took damage (from the Rocky Helmet).
-