Class FocusBandTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> Focus Band allows its holder to endure self-inflicted confusion damage.static CompletableFuture
<TestResult> Focus Band can allow the holder to survive Future Sight.static CompletableFuture
<TestResult> If Focus Band activates on a multistrike move, the holder will now only survive the strike that activated it, and the Focus Band will have to activate independently on each subsequent hit.static CompletableFuture
<TestResult> If the Pokémon holding a Focus Band is hit by a damaging move that would cause it to faint, there is a 10% chance the Focus Band will activate and cause its holder to survive with 1 HP.
-
Constructor Details
-
FocusBandTests
public FocusBandTests()
-
-
Method Details
-
testFocusBandPreventsTheHolderFromFainting
public static CompletableFuture<TestResult> testFocusBandPreventsTheHolderFromFainting(BattleTestHelper helper) If the Pokémon holding a Focus Band is hit by a damaging move that would cause it to faint, there is a 10% chance the Focus Band will activate and cause its holder to survive with 1 HP.In this test, a Paras with the Dry Skin ability that holds a Focus Band and knows the move Splash faces a Delphox with the Blaze ability that knows the move Incinerate.
Turn 1 Delphox uses Incinerate. Paras uses Splash. - We verify that the Paras did not faint. We verify that the Paras is at 1 HP. We verify that the Paras' Focus Band is not consumed.
-
testFocusBandAllowsTheHolderToSurviveFutureSight
public static CompletableFuture<TestResult> testFocusBandAllowsTheHolderToSurviveFutureSight(BattleTestHelper helper) Focus Band can allow the holder to survive Future Sight. Focus Band can allow the holder to survive Doom Desire.In this test, a Paras with the Dry Skin ability, that is at 1% HP, that holds a Focus Band, and that knows the move Splash faces a Delphox with the Blaze ability that knows the moves Future Sight and Sleep Talk.
Turn 1 Delphox uses Future Sight. Paras uses Splash. Turn 2 Delphox uses Sleep Talk. Paras uses Splash. Turn 2 Delphox uses Sleep Talk. Paras uses Splash. Paras takes damage from Future Sight. - After turn 3, We verify that the Paras did not faint. We verify that the Paras is at 1 HP. We verify that the Paras' Focus Band is not consumed.
-
testFocusBandAllowsHolderToSurviveConfusionDamage
public static CompletableFuture<TestResult> testFocusBandAllowsHolderToSurviveConfusionDamage(BattleTestHelper helper) Focus Band allows its holder to endure self-inflicted confusion damage.In this test, a Paras with the Dry Skin ability, that is at 1% HP, that holds a Focus Band, and that knows the move Splash faces a Delphox with the Blaze ability that knows the move Incinerate.
Turn 1 Delphox uses Confuse Ray. Paras is confused. It hurts itself in its confusion. - We verify that the Paras did not faint. We verify that the Paras is at 1 HP. We verify that the Paras' Focus Band is not consumed.
-
testFocusBandCanActivateAgainstMultistrikeMoves
public static CompletableFuture<TestResult> testFocusBandCanActivateAgainstMultistrikeMoves(BattleTestHelper helper) If Focus Band activates on a multistrike move, the holder will now only survive the strike that activated it, and the Focus Band will have to activate independently on each subsequent hit.In this test, a Paras with the Dry Skin ability, that is at 1% HP, that holds a Focus Band, and that knows the move Splash faces a Farigiraf that knows the move Twin Beam.
Turn 1 Farigiraf uses Twin Beam. Twin Beam hits the Paras twice. Paras uses Splash. - We verify that the Paras did not faint. We verify that the Paras is at 1 HP. We verify that the Paras' Focus Band is not consumed.
-