Class RockyHelmetTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.item.RockyHelmetTests
Tests for the Rocky Helmet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> testOccursAfterDrain
(BattleTestHelper helper) static CompletableFuture
<TestResult> static CompletableFuture
<TestResult> static CompletableFuture
<TestResult> A Rocky Helmet should not hurt the target of an attack made by the holder of the Rocky Helmet.static CompletableFuture
<TestResult> A Rocky Helmet should not hurt the target of an attack made by the holder of the Rocky Helmet even if the attacker used a move that deals recoil damage to the attacker.static CompletableFuture
<TestResult> A Rocky Helmet should not trigger the activation of recoil damage on the holder of the Rocky Helmet when the holder of the Rocky Helmet is using a move that deals recoil damage.static CompletableFuture
<TestResult> Each individual strike from a multistrike move that makes contact will activate the Rocky Helmet.
-
Constructor Details
-
RockyHelmetTests
public RockyHelmetTests()
-
-
Method Details
-
testRockyHelmetDamage
-
testOccursAfterDrain
-
testRockyHelmetDamageTriggersOnPokemonBehindSub
public static CompletableFuture<TestResult> testRockyHelmetDamageTriggersOnPokemonBehindSub(BattleTestHelper helper) -
testRockyHelmetMultiStrikeMove
Each individual strike from a multistrike move that makes contact will activate the Rocky Helmet.In this test, a Haxorus that knows the move Dual Chop faces a Regirock that holds a Rocky Helmet and knows the move Sleep Talk.
Turn 1 The Haxorus uses Dual Chop on the Regirock. The Regirock uses Sleep Talk. - We verify that the Haxorus took 1/3 of its HP in damage.
-
testRockyHelmetDoesNotHurtTargetOfAttack
public static CompletableFuture<TestResult> testRockyHelmetDoesNotHurtTargetOfAttack(BattleTestHelper helper) A Rocky Helmet should not hurt the target of an attack made by the holder of the Rocky Helmet.In this test, a Haxorus that holds a Rocky Helmet knows the move Dual Chop faces a Regirock that knows the move Sleep Talk.
Turn 1 The Haxorus uses Dual Chop on the Regirock. The Regirock uses Sleep Talk. - We verify that the Haxorus took 1/3 of its HP in damage.
-
testRockyHelmetDoesNotHurtTargetOfAttackWithRecoil
public static CompletableFuture<TestResult> testRockyHelmetDoesNotHurtTargetOfAttackWithRecoil(BattleTestHelper helper) A Rocky Helmet should not hurt the target of an attack made by the holder of the Rocky Helmet even if the attacker used a move that deals recoil damage to the attacker.In this test, two Haxorus that know the move Double-Edge face two Regirocks that know the move Sleep Talk. One Haxorus holds a Rocky Helmet.
Turn 1 The Haxorus uses Dual Chop on the Regirock. The Regirock uses Sleep Talk. - We verify that the Haxorus took 1/3 of its HP in damage.
-
testRockyHelmetDoesNotTriggerRecoilOfCurrentAttack
public static CompletableFuture<TestResult> testRockyHelmetDoesNotTriggerRecoilOfCurrentAttack(BattleTestHelper helper) A Rocky Helmet should not trigger the activation of recoil damage on the holder of the Rocky Helmet when the holder of the Rocky Helmet is using a move that deals recoil damage.In this test, a Haxorus that holds a Rocky Helmet and knows the move Double-Edge faces an Annihilape that know the move Submission.
Turn 1 The Haxorus uses Double-Edge on the Annihilape. The attack has no effect. The Annihilape uses Submission. - We verify that the Annihilape did not take any damage.
-