Class ProtectivePadsTests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult>
A Protective Pads held by a Pokémon will not be stolen by the Pickpocket ability if contact is not made.static CompletableFuture<TestResult>
A Protective Pads held by a Pokémon doesn't prevent attack effects from the target when defending.static CompletableFuture<TestResult>
Protective Pads does not protect a Pokémon against Gulp Missile.static CompletableFuture<TestResult>
A Protective Pads held by a Pokémon will be stolen by the Pickpocket ability if contact is made.static CompletableFuture<TestResult>
Protective Pads protect a Pokémon that holds them from losing their ability via contact due to an opponent's ability.static CompletableFuture<TestResult>
Protective Pads held by a Pokémon protects them from abilities that deal damage to an attacker via contact.static CompletableFuture<TestResult>
A Protective Pads prevents damage or effects from Protecting moves when attacking.static CompletableFuture<TestResult>
A Protective Pads held by a Pokémon prevents effects from items that the opponent holds when the user attacks.static CompletableFuture<TestResult>
A Protective Pads held by a Pokémon prevents Perish Body from activating.static CompletableFuture<TestResult>
Protective Pads held by a Pokémon protects them from having their stats lowered via abilities that activate via contact.
-
Constructor Details
-
ProtectivePadsTests
public ProtectivePadsTests()
-
-
Method Details
-
testShouldPreventAbilityChangingAbilitiesActivatedByContact
public static CompletableFuture<TestResult> testShouldPreventAbilityChangingAbilitiesActivatedByContact(BattleTestHelper helper) Protective Pads protect a Pokémon that holds them from losing their ability via contact due to an opponent's ability.In this test, a Wynaut with the Sturdy ability, that is holding a Protective Pads, and that knows the move Bullet Punch faces off against a Cofagrigus \ with the Mummy ability and that knows Sleep Talk. - Turn 1 Wynaut uses Bullet Punch. Cofagrigus uses Sleep Talk, which fails. - We verify that the Wynaut still has the Sturdy ability.
-
testShouldPreventDamageFromAbilitiesThatActivateViaContact
public static CompletableFuture<TestResult> testShouldPreventDamageFromAbilitiesThatActivateViaContact(BattleTestHelper helper) Protective Pads held by a Pokémon protects them from abilities that deal damage to an attacker via contact.In this test, a Wynaut that is holding a Protective Pads and that knows the move Bullet Punch faces off against a Ferrothorn with the Iron Barbs ability that knows Sleep Talk. - Turn 1 Miltank uses Sleep Talk, which fails. Wynaut uses Tackle. - We verify that the Wynaut was damaged by the Miltank's Rocky Helmet.
-
testShouldPreventStatsLoweringFromAbilitiesThatActivateViaContact
public static CompletableFuture<TestResult> testShouldPreventStatsLoweringFromAbilitiesThatActivateViaContact(BattleTestHelper helper) Protective Pads held by a Pokémon protects them from having their stats lowered via abilities that activate via contact.In this test, a Wynaut that is holding a Protective Pads and that knows the move Bullet Punch faces off against a Goodra with the Gooey ability that knows Sleep Talk. - Turn 1 Wynaut uses Bullet Punch. Goodra uses Sleep Talk. - We verify that the Wynaut's Speed hasn't changed.
-
testShouldNotStopPickpocket
A Protective Pads held by a Pokémon will be stolen by the Pickpocket ability if contact is made.In this test, a Wynaut that is holding a Protective Pads and that knows the move Bullet Punch faces off against a Weavile that has the Pickpocket ability and knows the move Sleep Talk. - Turn 1 Wynaut uses Bullet Punch. Weavile uses Sleep Talk. - We verify that the Wynaut doesn't have a held item.
-
testShouldNotBePickpocketedIfMoveDoesNotMakeContact
public static CompletableFuture<TestResult> testShouldNotBePickpocketedIfMoveDoesNotMakeContact(BattleTestHelper helper) A Protective Pads held by a Pokémon will not be stolen by the Pickpocket ability if contact is not made.In this test, a Wynaut that is holding a Protective Pads and that knows the move Earthquake faces off against a Weavile that has the Pickpocket ability and knows the move Sleep Talk. - Turn 1 Wynaut uses Earthquake. Weavile uses Sleep Talk. - We verify that the Wynaut doesn't have a held item.
-
testShouldPreventItemEffectsThatActivateFromContactWhenAttacking
public static CompletableFuture<TestResult> testShouldPreventItemEffectsThatActivateFromContactWhenAttacking(BattleTestHelper helper) A Protective Pads held by a Pokémon prevents effects from items that the opponent holds when the user attacks.In this test, a Wynaut that is holding a Protective Pads and that knows the move Bullet Punch faces off against a Miltank that is holding a Rocky Helmet and that knows Sleep Talk. - Turn 1 Wynaut uses Bullet Punch. Miltank uses Sleep Talk, which fails. - We verify that the Wynaut was not damaged by the Miltank's Rocky Helmet.
-
testShouldNotPreventMoveEffectsWhenDefending
public static CompletableFuture<TestResult> testShouldNotPreventMoveEffectsWhenDefending(BattleTestHelper helper) A Protective Pads held by a Pokémon doesn't prevent attack effects from the target when defending.In this test, a Wynaut that is holding a Protective Pads and that knows the move Sleep Talk faces off against a Happiny that knows Lunge. - Turn 1 Happiny uses Lunge, which damages the Wynaut and lowers its Attack by one stage. Wynaut uses Sleep Talk. - We verify that the Wynaut's Attack has been lowered by one stage.
-
testShouldPreventPerishBodyActivating
public static CompletableFuture<TestResult> testShouldPreventPerishBodyActivating(BattleTestHelper helper) A Protective Pads held by a Pokémon prevents Perish Body from activating.In this test, a Wynaut that is holding a Protective Pads and that knows the move Bullet Punch faces off against a Cursola with the Perish Body ability that knows Sleep Talk. - Turn 1 Wynaut uses Bullet Punch. Cursola uses Sleep Talk. - We verify that the Wynaut does not have the Perish Song status. We verify that the Cursola does not have the Perish Song status.
-
testShouldPreventEffectsFromProtectMovesThatHaveSideEffects
public static CompletableFuture<TestResult> testShouldPreventEffectsFromProtectMovesThatHaveSideEffects(BattleTestHelper helper) A Protective Pads prevents damage or effects from Protecting moves when attacking.In this test, a Wynaut that is holding a Protective Pads and that knows the move Tackle faces off against an Aggron that knows the moves Baneful Bunker, Obstruct, and Spiky Shield. - Turn 1 Aggron uses Baneful Bunker. Wynaut uses Tackle. Tackle deals no damage, and Wynaut is not poisoned. Turn 2 Aggron uses Obstruct. Wynaut uses Tackle. Tackle deals no damage and Wynaut does not have its Defense lowered. Turn 3 Aggron uses Spiky Shield. Wynaut uses Tackle. Tackle deals no damage and Wynaut remains at full health. - We verify that the Wynaut is not poisoned. We verify that the Wynaut has not had its Defense lowered. We verify that the Wynaut is at full health.
-
testShouldNotProtectAgainstGulpMissileWhenUsingAContactMove
public static CompletableFuture<TestResult> testShouldNotProtectAgainstGulpMissileWhenUsingAContactMove(BattleTestHelper helper) Protective Pads does not protect a Pokémon against Gulp Missile.In this test, a Wynaut with the Sturdy ability, that is holding a Protective Pads, and that knows the move Bullet Punch faces off against a Cofagrigus \ with the Mummy ability and that knows Sleep Talk. - Turn 1 Wynaut uses Bullet Punch. Cramorant is in Gorging form. When it takes damage, it does 1/4 of Wynaut's Max HP as damage to Wynaut. Cramorant also paralyzes Wynaut. Wynaut does not take damage from Cramorant's Rocky Helmet. Cramorant uses Sleep Talk. - We verify that the Wynaut has taken exactly 1/4 of its Max HP as damage. We verify that the Wynaut is paralyzed.
-