Class AirLockTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.ability.AirLockTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult> With Rain active, an Air Lock bearer on-field should prevent rain-based effects: - Weather Ball should be neutral (not Water) - Thunder should not be forced to 100% accuracy by rain (placeholder) Steps: - Start Rain (Drizzle), verify Weather Ball is Water-type.static CompletableFuture<TestResult> Residual weather effects: hail/sandstorm damage and Rain Dish healing should be suppressed while Air Lock active.static CompletableFuture<TestResult> Moves whose behaviour changes in Sun (Solar Beam) or that need weather to change (Aurora Veil) should behave as if there is no weather while Air Lock is present.static CompletableFuture<TestResult> Sunny Day / Rain Dance should change the underlying weather, but the effects of that weather remain negated while Air Lock is present.static CompletableFuture<TestResult> Swift Swim and Chlorophyll should not activate while Air Lock bearer is on-field.
-
Constructor Details
-
AirLockTests
public AirLockTests()
-
-
Method Details
-
testRainEffectsSuppressedByAirLock
public static CompletableFuture<TestResult> testRainEffectsSuppressedByAirLock(BattleTestHelper helper) With Rain active, an Air Lock bearer on-field should prevent rain-based effects: - Weather Ball should be neutral (not Water) - Thunder should not be forced to 100% accuracy by rain (placeholder) Steps: - Start Rain (Drizzle), verify Weather Ball is Water-type. - Switch in Air Lock bearer, verify Weather Ball is now Normal-type. -
testWeatherTriggeredAbilitiesSuppressed
public static CompletableFuture<TestResult> testWeatherTriggeredAbilitiesSuppressed(BattleTestHelper helper) Swift Swim and Chlorophyll should not activate while Air Lock bearer is on-field. Steps: - Start Rain (Drizzle), have a Pokémon with Swift Swim enter while Air Lock is active, verify speed boost does not occur. - Start Sun, have a Pokémon with Chlorophyll/Solar Power enter while Air Lock is active, verify speed/SpA boost does not occur. -
testResidualWeatherEffectsSuppressed
public static CompletableFuture<TestResult> testResidualWeatherEffectsSuppressed(BattleTestHelper helper) Residual weather effects: hail/sandstorm damage and Rain Dish healing should be suppressed while Air Lock active. Steps: - Start Hail, have a Pokémon without Air Lock enter while Air Lock is active and verify no hail damage occurs. -
testSolarBeamAndAuroraVeilUnderAirLock
public static CompletableFuture<TestResult> testSolarBeamAndAuroraVeilUnderAirLock(BattleTestHelper helper) Moves whose behaviour changes in Sun (Solar Beam) or that need weather to change (Aurora Veil) should behave as if there is no weather while Air Lock is present. - Solar Beam should be the two-turn move in neutral weather (i.e., not instant in sun) while Air Lock active even if Sun is set. -
testWeatherSettersChangeUnderlyingWeatherWhileSuppressed
public static CompletableFuture<TestResult> testWeatherSettersChangeUnderlyingWeatherWhileSuppressed(BattleTestHelper helper) Sunny Day / Rain Dance should change the underlying weather, but the effects of that weather remain negated while Air Lock is present.
-