Class RazorFangTests
This does not include tests for evolving Gligar into Gliscor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> Grants all attacking moves that do not already have a chance to flinch a 10% chance of causing each target to flinch.static CompletableFuture
<TestResult> Razor Fang does not activate Sheer Force, but Sheer Force removes the chance to flinch if the move already has an additional effect.static CompletableFuture
<TestResult> Razor Fang does not activate Sheer Force.static CompletableFuture
<TestResult> Each strike of a multistrike move has an independent chance of causing the target to flinch.static CompletableFuture
<TestResult> Grants all attacking moves that do not already have a chance to flinch a 10% chance of causing each target to flinch.static CompletableFuture
<TestResult> Grants all attacking moves that do not already have a chance to flinch a 10% chance of causing each target to flinch.
-
Constructor Details
-
RazorFangTests
public RazorFangTests()
-
-
Method Details
-
testRazorFangCanFlinchTargets
Grants all attacking moves that do not already have a chance to flinch a 10% chance of causing each target to flinch.In this test, a Gliscor that holds a Razor Fang and knows the move Knock Off faces a Glameow that knows the move Hypnosis.
Turn 1 The Gliscor uses Knock Off. The Glameow flinches. The Glameow does not use Hypnosis. - We verify that the Gliscor does not have the asleep status.
-
testRazorFangHasIndependentChanceForEachHitOfMultistrikeMoves
public static CompletableFuture<TestResult> testRazorFangHasIndependentChanceForEachHitOfMultistrikeMoves(BattleTestHelper helper) Each strike of a multistrike move has an independent chance of causing the target to flinch.In this test, a Tandemaus that holds a Razor Fang and knows the move Population Bomb faces a Machamp with the Steadfast ability that knows the move Sleep Talk.
Turn 1 The Tandemaus uses Population Bomb. The Machamp does not use Sleep Talk. - We verify that the Machamp has had its Speed raised by one stage either more or less than it has been hit.
-
testRazorFangHasTenPercentChanceAndIsAffectedBySereneGrace
public static CompletableFuture<TestResult> testRazorFangHasTenPercentChanceAndIsAffectedBySereneGrace(BattleTestHelper helper) Grants all attacking moves that do not already have a chance to flinch a 10% chance of causing each target to flinch. The 10% chance that a Razor Fang activates is affected by Serene Grace.In this test, a Sawsbuck with the Serene Grace ability that holds a Razor Fang and knows the move Tackle faces a Onix that knows the move Sleep Talk.
Turn 1 The Sawsbuck uses Tackle. The Onix flinches. The Onix does not use Sleep Talk. - We verify that the Sawsbuck's Tackle had a Flinch move effect. We verify that the Flinch move effect of the Sawsbuck's Tackle had modifiers. We verify that the Flinch move effect of the Sawsbuck's Tackle were of the Chance type. We verify that the Flinch move effect of the Sawsbuck's Tackle had a value of 10. We verify that the Flinch move effect of the Sawsbuck's Tackle had a multiplier of 2.
-
testRazorFangHasTenPercentChanceAndIsAffectedByWaterPledgeRainbow
public static CompletableFuture<TestResult> testRazorFangHasTenPercentChanceAndIsAffectedByWaterPledgeRainbow(BattleTestHelper helper) Grants all attacking moves that do not already have a chance to flinch a 10% chance of causing each target to flinch. The 10% chance that a Razor Fang activates is affected by the rainbow created by Fire Pledge and Water Pledge.In this test, a Gliscor that holds a Razor Fang and knows the move Knock Off faces a Onix that knows the move Sleep Talk.
Before turn 1 The game cheats in a rainbow from Water Pledge on to the Gliscor's side of the field. Turn 1 The Gliscor uses Knock Off. The Onix flinches. The Onix does not use Sleep Talk. - We verify that the Gliscor's Knock Off had a Flinch move effect. We verify that the Flinch move effect of the Gliscor's Knock Off had modifiers. We verify that the Flinch move effect of the Gliscor's Knock Off were of the Chance type. We verify that the Flinch move effect of the Gliscor's Knock Off had a value of 10. We verify that the Flinch move effect of the Gliscor's Knock Off had a multiplier of 2.
-
testRazorFangDoesNotActivateSheerForce
public static CompletableFuture<TestResult> testRazorFangDoesNotActivateSheerForce(BattleTestHelper helper) Razor Fang does not activate Sheer Force.In this test, a Rufflet that holds a Razor Fang and knows the move Peck faces a Munna that knows the move Hypnosis.
Turn 1 The Rufflet uses Peck. The Munna flinches. The Munna does not use Hypnosis. - We verify that the Rufflet's Peck had the same power as its base power. We verify that the Rufflet does not have the Sleep status.
-
testRazorFangCanStillBeAffectedBySheerForce
public static CompletableFuture<TestResult> testRazorFangCanStillBeAffectedBySheerForce(BattleTestHelper helper) Razor Fang does not activate Sheer Force, but Sheer Force removes the chance to flinch if the move already has an additional effect.In this test, a Rufflet that holds a Razor Fang and knows the move Crush Claw faces a Munna that knows the move Hypnosis.
Turn 1 The Rufflet uses Crush Claw. The Munna uses Hypnosis. - We verify that the Rufflet's Crush Claw's power is greater than its base power. We verify that the Rufflet has the Sleep status. We verify that the Munna has not had its Defense lowered by one stage.
-