Class DragonDartsTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.move.DragonDartsTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult> shouldBeRedirected(BattleTestHelper helper) static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> If the first hit of Dragon Darts KOs a Dondozo with a Tatsugiri in its mouth, the second one won't attack the Tatsugiri.static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult> static CompletableFuture<TestResult>
-
Constructor Details
-
DragonDartsTests
public DragonDartsTests()
-
-
Method Details
-
shouldHitTwiceInSingles
-
shouldNotHangAfterFaintingOnlyTargetOnFirstHit
public static CompletableFuture<TestResult> shouldNotHangAfterFaintingOnlyTargetOnFirstHit(BattleTestHelper helper) -
shouldHitEachOpponentOnceInDoubles
public static CompletableFuture<TestResult> shouldHitEachOpponentOnceInDoubles(BattleTestHelper helper) -
shouldHitNonDarkTargetTwiceIfPranksterBoosted
public static CompletableFuture<TestResult> shouldHitNonDarkTargetTwiceIfPranksterBoosted(BattleTestHelper helper) -
shouldHitTargetsAllyTwiceIfInitialHitMisses
public static CompletableFuture<TestResult> shouldHitTargetsAllyTwiceIfInitialHitMisses(BattleTestHelper helper) -
shouldFailOnceIfBothHitsWouldFail
public static CompletableFuture<TestResult> shouldFailOnceIfBothHitsWouldFail(BattleTestHelper helper) -
shouldHitEachOpponentOnceEvenIfFirstFaints
public static CompletableFuture<TestResult> shouldHitEachOpponentOnceEvenIfFirstFaints(BattleTestHelper helper) -
shouldHitAllyTwiceInDoubles
-
shouldFailWhenTargetingProtectedAllyInDoubles
public static CompletableFuture<TestResult> shouldFailWhenTargetingProtectedAllyInDoubles(BattleTestHelper helper) -
shouldHitSelfAndAllyOnceIfAllySwitchedToTargetSelf
public static CompletableFuture<TestResult> shouldHitSelfAndAllyOnceIfAllySwitchedToTargetSelf(BattleTestHelper helper) -
shouldHitSelfTwiceIfAllySwitchedToTargetSelfAndPartnerImmune
public static CompletableFuture<TestResult> shouldHitSelfTwiceIfAllySwitchedToTargetSelfAndPartnerImmune(BattleTestHelper helper) -
shouldSmartRedirectToNonProtectingOpponent
public static CompletableFuture<TestResult> shouldSmartRedirectToNonProtectingOpponent(BattleTestHelper helper) -
shouldNotRedirectToAvoidSubstitute
public static CompletableFuture<TestResult> shouldNotRedirectToAvoidSubstitute(BattleTestHelper helper) -
shouldDoubleAttackNonProtectingTarget
public static CompletableFuture<TestResult> shouldDoubleAttackNonProtectingTarget(BattleTestHelper helper) -
shouldBeRedirected
-
shouldSmartRedirectToAvoidBeingBlockedByTypeImmunity
public static CompletableFuture<TestResult> shouldSmartRedirectToAvoidBeingBlockedByTypeImmunity(BattleTestHelper helper) -
shouldSmartRedirectToAvoidBeingBlockedByAbilities
public static CompletableFuture<TestResult> shouldSmartRedirectToAvoidBeingBlockedByAbilities(BattleTestHelper helper) -
shouldSmartRedirectToAvoidBeingBlockedBySemiInvulnerableStatus
public static CompletableFuture<TestResult> shouldSmartRedirectToAvoidBeingBlockedBySemiInvulnerableStatus(BattleTestHelper helper) -
shouldHitTargetTwiceIfOtherOpponentIsFainted
public static CompletableFuture<TestResult> shouldHitTargetTwiceIfOtherOpponentIsFainted(BattleTestHelper helper) -
shouldFailIfOpponentsAreFainted
public static CompletableFuture<TestResult> shouldFailIfOpponentsAreFainted(BattleTestHelper helper) -
shouldSwitchOuterPokemonIfUsedInTripleBattle
public static CompletableFuture<TestResult> shouldSwitchOuterPokemonIfUsedInTripleBattle(BattleTestHelper helper) -
shouldNotHitTatsugiriUponKnockingOutDondozo
public static CompletableFuture<TestResult> shouldNotHitTatsugiriUponKnockingOutDondozo(BattleTestHelper helper) If the first hit of Dragon Darts KOs a Dondozo with a Tatsugiri in its mouth, the second one won't attack the Tatsugiri. See DaWoblefet's research on this.In this Double Battle test, a Tatsugiri with the Commander ability is on a team with a level 1 Dondozo They both know the move Sleep Talk. They face a Dragapult that knows Dragon Darts and a Meowscarada that knows Sleep Talk.
Before Turn 1 The Tatsugiri hops into the Dondozo's mouth. Turn 1 The Dragapult uses Dragon Darts on the Dondozo. The Meowscarada uses Sleep Talk. The Tatsugiri uses Sleep Talk. The Dondozo uses Sleep Talk. - After Turn 1 We verify that the Dondozo has fainted. We verify that the Tatsugiri has not taken any damage.
-