Class DestinyKnotTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.item.DestinyKnotTests
Tests for the Destiny Knot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> If the holder of a Destiny Knot becomes infatuated, the Pokémon that the holder is in love with becomes infatuated as well.static CompletableFuture
<TestResult> If the holder of a Destiny Knot becomes infatuated, the Pokémon that the holder is in love with becomes infatuated as well.
-
Constructor Details
-
DestinyKnotTests
public DestinyKnotTests()
-
-
Method Details
-
testDestinyKnotCopiesInfatuationOnToTheAttacker
public static CompletableFuture<TestResult> testDestinyKnotCopiesInfatuationOnToTheAttacker(BattleTestHelper helper) If the holder of a Destiny Knot becomes infatuated, the Pokémon that the holder is in love with becomes infatuated as well.In this test, a male Woobat that knows the move Attract faces a female Vullaby that holds a Destiny Knot and knows the move Sleep Talk.
Turn 1 The Woobat uses Attract. The Vullaby becomes infatuated with the Woobat. The Vullaby's Destiny Knot makes the Woobat infatuated with the Vullaby. The Vullaby uses Sleep Talk. - We verify that the Vullaby has the Infatuated status. We verify that the Vullaby is infatuated with the Woobat. We verify that the Woobat has the Infatuated status. We verify that the Woobat is infatuated with the Vullaby.
-
testDestinyKnotDoesNotCopyInfatuationOnToMultipleOpponents
public static CompletableFuture<TestResult> testDestinyKnotDoesNotCopyInfatuationOnToMultipleOpponents(BattleTestHelper helper) If the holder of a Destiny Knot becomes infatuated, the Pokémon that the holder is in love with becomes infatuated as well. In a Double Battle, the Destiny Knot should not force both Pokémon to become infatuated if only one Pokémon tried to make the Destiny Knot holder become infatuated.In this Double Battle test, a male Woobat that knows the move Attract and a male Swoobat that knows Charm face a female Vullaby that holds a Destiny Knot and knows the move Sleep Talk and a female Mandibuzz that knows the move Sleep Talk.
Turn 1 The Swoobat uses Charm on the Vullaby. The Vullaby's Attack is lowered by two stages. The Mandibuzz uses Sleep Talk. The Woobat uses Attract on the Vullaby. The Vullaby becomes infatuated with the Woobat. The Vullaby's Destiny Knot makes the Woobat infatuated with the Vullaby. The Vullaby uses Sleep Talk. - We verify that the Vullaby has the Infatuated status. We verify that the Vullaby is infatuated with the Woobat. We verify that the Woobat has the Infatuated status. We verify that the Woobat is infatuated with the Vullaby. We verify that the Mandibuzz does not have any statuses. We verify that the Swoobat does not have any statuses.
-