Class LaggingTailTests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture
<TestResult> A Pokémon with both the Stall ability and a Lagging Tail held item should not have lower priority than a Pokémon with either only Stall or only a Lagging Tail.static CompletableFuture
<TestResult> The Lagging Tail forces the holder to move last in its priority bracket, regardless of its Speed.static CompletableFuture
<TestResult> The Lagging Tail is unaffected by Trick Room.static CompletableFuture
<TestResult> If a Lagging Tail is gained, lost, or suppressed, then it will not affect turn order until the beginning of the next turn.static CompletableFuture
<TestResult> If multiple Pokémon with the Ability Stall or that are holding a Lagging Tail or Full Incense use moves with the same priority, the Pokémon move relatively according to Speed.static CompletableFuture
<TestResult> If multiple Pokémon with the Ability Stall or that are holding a Lagging Tail or Full Incense use moves with the same priority, the Pokémon move relatively according to Speed (the order is reversed during Trick Room).
-
Constructor Details
-
LaggingTailTests
public LaggingTailTests()
-
-
Method Details
-
testLaggingTailMovesHolderLastInPriorityBracket
public static CompletableFuture<TestResult> testLaggingTailMovesHolderLastInPriorityBracket(BattleTestHelper helper) The Lagging Tail forces the holder to move last in its priority bracket, regardless of its Speed.In this test, a Swellow that holds a Lagging Tail and knows the move Focus Energy faces a Foongus that knows the move Spore.
Turn 1 The Foongus uses Spore. The Swellow attempts to use Focus Energy, but it is asleep. - We verify that the Swellow does not have the Pumped status.
-
testLaggingTailUnaffectedByTrickRoom
public static CompletableFuture<TestResult> testLaggingTailUnaffectedByTrickRoom(BattleTestHelper helper) The Lagging Tail is unaffected by Trick Room.In this test, a Diancie that holds a Lagging Tail and knows the moves Trick Room and Light Screen faces a Foongus that knows the moves Sleep Talk and Spore.
Turn 1 The Foongus uses Sleep Talk. The Diancie uses Trick Room. Turn 2 The Foongus uses Spore. The Diancie attempts to use Light Screen, but it is asleep. - After turn 1: We verify that the battlefield has a Trick Room status. After turn 2: We verify that the Diancie does not have a Light Screen status.
-
testLosingLaggingTailDoesNotChangeCurrentTurn
public static CompletableFuture<TestResult> testLosingLaggingTailDoesNotChangeCurrentTurn(BattleTestHelper helper) If a Lagging Tail is gained, lost, or suppressed, then it will not affect turn order until the beginning of the next turn.In this test, a Swellow that holds a Lagging Tail and knows the move Focus Energy along with a Skitty that holds a Lagging Tail and knows the move Heal Bell face a Morgrem with the Prankster ability that knows the move Trick and a Foongus that knows the move Spore.
Turn 1 The Morgrem uses Trick on Swellow with +1 priority from Prankster. Morgrem receives Swellow's Lagging Tail. The Foongus uses Spore on Swellow. Swellow falls asleep. The Swellow attempts to use Focus Energy but it is asleep. The Skitty uses Heal Bell. The Swellow wakes up from its sleep. Turn 2 The Morgrem uses Trick on the Swellow with +1 priority from Prankster. The Swellow receives the Morgrem's Lagging Tail. The Swellow uses Focus Energy. The Swellow becomes pumped up. The Foongus uses Spore on the Swellow. The Skitty uses Heal Bell. The Swellow wakes up from its sleep. - After turn 1: We verify that the Swellow does not have a held item. We verify that the Morgrem has a held item. We verify that the Swellow does not have the Pumped status. After turn 2: We verify that the Swellow has a held item. We verify that the Morgrem does not have a held item. We verify that the Swellow has the Pumped status.
-
testMultipleLastInPriorityPokemonMoveInOrderOfSpeed
public static CompletableFuture<TestResult> testMultipleLastInPriorityPokemonMoveInOrderOfSpeed(BattleTestHelper helper) If multiple Pokémon with the Ability Stall or that are holding a Lagging Tail or Full Incense use moves with the same priority, the Pokémon move relatively according to Speed.In this test, a Swellow that holds a Lagging Tail and knows the move Focus Energy is on a team with a Sableye with the Stall ability and that knows the moves Sleep Talk and Mean Look. They face a Foongus that holds a Full Incense and knows the move Spore and an Amoonguss that holds a Lagging Tail and knows the move Spore.
Turn 1 The Swellow uses Focus Energy. The Sableye uses Mean Look on the Amoonguss. The Amoonguss uses Spore on the Swellow. The Foongus uses Spore on the Sableye. - We verify that the Swellow has the Pumped status. We verify that the Amoonguss has the Mean Look status. We verify that the Swellow has the Sleep status. We verify that the Sableye has the Sleep status.
-
testMultipleLastInPriorityPokemonSlowestMovesFirstInTrickRoom
public static CompletableFuture<TestResult> testMultipleLastInPriorityPokemonSlowestMovesFirstInTrickRoom(BattleTestHelper helper) If multiple Pokémon with the Ability Stall or that are holding a Lagging Tail or Full Incense use moves with the same priority, the Pokémon move relatively according to Speed (the order is reversed during Trick Room).In this test, a Diancie that holds a Lagging Tail and knows the moves Trick Room and Light Screen is on a team with a Sableye with the Stall ability and that knows the moves Sleep Talk and Mean Look. They face a Foongus that holds a Full Incense and knows the moves Sleep Talk and Spore and an Amoonguss that holds a Lagging Tail and knows the moves Sleep Talk and Spore.
Turn 1 The Diancie uses Trick Room. The Sableye uses Sleep Talk. The Amoonguss uses Sleep Talk. The Foongus uses Sleep Talk. Turn 2 The Foongus uses Spore on the Diancie. The Amoonguss uses Spore on the Sableye. The Diancie attempts to use Light Screen, but it is asleep. The Sableye attempts to use Mean Look on the Amoonguss, but the Sableye is asleep. - After turn 1: We verify that the battlefield has a Trick Room status. After turn 2: We verify that the Diancie has the Sleep status. We verify that the Sableye has the Sleep status. We verify that the Diancie does not have a Light Screen status. We verify that the Amoonguss does not have a Mean Look status.
-
testLaggingTailDoesNotStackWithStallToGoUltraLast
public static CompletableFuture<TestResult> testLaggingTailDoesNotStackWithStallToGoUltraLast(BattleTestHelper helper) A Pokémon with both the Stall ability and a Lagging Tail held item should not have lower priority than a Pokémon with either only Stall or only a Lagging Tail.In this test, a Swellow that holds a Lagging Tail and knows the move Focus Energy faces a Sableye with the Stall ability, that holds a Lagging Tail and knows the move Ice Punch. Both Pokémon should have the same priority so the Swellow should always move first.
Turn 1 The Swellow uses Focus Energy. The Swellow becomes pumped up. The Sableye uses Ice Punch. The attack freezes the Swellow. - We verify that the Swellow has the Pumped status. We verify that the Swellow has the Freeze status.
-