Class FocusSashTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.item.FocusSashTests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult>
A Pokémon's Focus Sash should prevent it from fainting if it takes enough damage to faint when it is at full health.static CompletableFuture<TestResult>
A Pokémon's Focus Sash should prevent it from fainting if it takes enough confusion damage to faint when it is at full health.static CompletableFuture<TestResult>
A Pokémon's Focus Sash should not protect it from damage from Future Sight or Doom Desire.static CompletableFuture<TestResult>
A Pokémon's Focus Sash should not activate from taking recoil damage.static CompletableFuture<TestResult>
A Pokémon's Focus Sash should not activate from taking residual damage.static CompletableFuture<TestResult>
A Pokémon's Focus Sash should not protect it from multiple hits of a multi-strike move.
-
Constructor Details
-
FocusSashTests
public FocusSashTests()
-
-
Method Details
-
testShouldBeConsumedAndAllowUserToSurviveAnAttackFromFullHP
public static CompletableFuture<TestResult> testShouldBeConsumedAndAllowUserToSurviveAnAttackFromFullHP(BattleTestHelper helper) A Pokémon's Focus Sash should prevent it from fainting if it takes enough damage to faint when it is at full health. The Focus Sash should be consumed afterwards. -
testShouldBeConsumedAndAllowUserToSurviveConfusionDamageFromFullHP
public static CompletableFuture<TestResult> testShouldBeConsumedAndAllowUserToSurviveConfusionDamageFromFullHP(BattleTestHelper helper) A Pokémon's Focus Sash should prevent it from fainting if it takes enough confusion damage to faint when it is at full health. -
testShouldNotActivateUponTakingRecoilDamage
public static CompletableFuture<TestResult> testShouldNotActivateUponTakingRecoilDamage(BattleTestHelper helper) A Pokémon's Focus Sash should not activate from taking recoil damage. -
testShouldNotActivateUponTakingResidualDamage
public static CompletableFuture<TestResult> testShouldNotActivateUponTakingResidualDamage(BattleTestHelper helper) A Pokémon's Focus Sash should not activate from taking residual damage. -
testShouldNotActivateUponTakingDamageFromFutureSight
public static CompletableFuture<TestResult> testShouldNotActivateUponTakingDamageFromFutureSight(BattleTestHelper helper) A Pokémon's Focus Sash should not protect it from damage from Future Sight or Doom Desire. -
testShouldOnlyPreventDamageFromOneHitOfMultiStrikeMove
public static CompletableFuture<TestResult> testShouldOnlyPreventDamageFromOneHitOfMultiStrikeMove(BattleTestHelper helper) A Pokémon's Focus Sash should not protect it from multiple hits of a multi-strike move.
-