Class LightningRodTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.ability.LightningRodTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> static CompletableFuture
<TestResult> static CompletableFuture
<TestResult> Lightning Rod does not prevent the opponent from using Charge.static CompletableFuture
<TestResult> Lightning Rod does not prevent the opponent from using Ion Deluge.static CompletableFuture
<TestResult> static CompletableFuture
<TestResult> static CompletableFuture
<TestResult> static CompletableFuture
<TestResult> static CompletableFuture
<TestResult>
-
Constructor Details
-
LightningRodTests
public LightningRodTests()
-
-
Method Details
-
testGrantsImmunityToElectricTypeMovesAndBoostSpecialAttackByOne
public static CompletableFuture<TestResult> testGrantsImmunityToElectricTypeMovesAndBoostSpecialAttackByOne(BattleTestHelper helper) -
testDoesNotBoostSpecialAttackIfAlreadyElectricTypeImmune
public static CompletableFuture<TestResult> testDoesNotBoostSpecialAttackIfAlreadyElectricTypeImmune(BattleTestHelper helper) -
testShouldRedirectSingleTargetElectricAttacksIfValidTarget
public static CompletableFuture<TestResult> testShouldRedirectSingleTargetElectricAttacksIfValidTarget(BattleTestHelper helper) -
testShouldRedirectToTheFastestLightningRodUser
public static CompletableFuture<TestResult> testShouldRedirectToTheFastestLightningRodUser(BattleTestHelper helper) -
testShouldRedirectSingleTargetElectricAttacksToLongestTimeIfSpeedTied
public static CompletableFuture<TestResult> testShouldRedirectSingleTargetElectricAttacksToLongestTimeIfSpeedTied(BattleTestHelper helper) -
testShouldNotRedirectIfFollowMeHasBeenUsed
public static CompletableFuture<TestResult> testShouldNotRedirectIfFollowMeHasBeenUsed(BattleTestHelper helper) -
testShouldBeSuppressedByMoldBreaker
public static CompletableFuture<TestResult> testShouldBeSuppressedByMoldBreaker(BattleTestHelper helper) -
testLightningRodDoesNotPreventCharge
public static CompletableFuture<TestResult> testLightningRodDoesNotPreventCharge(BattleTestHelper helper) Lightning Rod does not prevent the opponent from using Charge.In this test, a Manectric with the Lightning Rod ability that knows the move Sleep Talk faces a Jolteon that knows the move Charge.
Turn 1 The Jolteon uses Charge. The Manectric uses Sleep Talk. - We verify that the Jolteon has the Charge status. We verify that the Jolteon has raised its Special Defense by one stage. We verify that the Manectric's Lightning Rod did not raise its Special Attack by one stage.
-
testLightningRodDoesNotPreventIonDeluge
public static CompletableFuture<TestResult> testLightningRodDoesNotPreventIonDeluge(BattleTestHelper helper) Lightning Rod does not prevent the opponent from using Ion Deluge.In this test, a Manectric with the Lightning Rod ability that knows the move Sleep Talk faces an Eelektross that knows the move Ion Deluge.
Turn 1 The Manectric uses Sleep Talk. The Eelektross uses Ion Deluge. - We verify that the Manectric's Lightning Rod did not raise its Special Attack by one stage. We verify that the Eelektross' attack was successful.
-