Class LashOutTests

java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.move.LashOutTests

public class LashOutTests extends Object
Tests for Lash Out
  • Constructor Details

    • LashOutTests

      public LashOutTests()
  • Method Details

    • testLashOutDoublesBasePowerOnStatsLowering

      public static CompletableFuture<TestResult> testLashOutDoublesBasePowerOnStatsLowering(BattleTestHelper helper)
      If any of the user's stats were lowered during the turn this move is used, Lash Out's base power is doubled to 150.

      In this test, a Drapion that knows Lash Out faces a Fezandipiti that knows Charm.

           Turn 1
           The Fezandipiti uses Charm.
           The Drapion uses Lash Out.
           -
           After Turn 1
           We verify that the Drapion's Attack was lowered by two stages.
           We verify that the Drapion's attack had its base power doubled.
       
    • testLashOutDoublesBasePowerOnStatsLoweringFromAlly

      public static CompletableFuture<TestResult> testLashOutDoublesBasePowerOnStatsLoweringFromAlly(BattleTestHelper helper)
      If any of the user's stats were lowered during the turn this move is used, even if by an ally, Lash Out's base power is doubled to 150.

      In this Double Battle test, a Drapion that knows Lash Out is on a team with a Fezandipiti that knows Charm. Together they face an Okidogi that knows Sleep Talk and a Munkidori that knows Sleep Talk.

           Turn 1
           The Munkidori uses Sleep Talk.
           The Fezandipiti uses Charm on the Drapion.
           The Drapion uses Lash Out on the Okidogi.
           The Okidogi uses Sleep Talk.
           -
           After Turn 1
           We verify that the Drapion's Attack was lowered by two stages.
           We verify that the Drapion's attack had its base power doubled.
       
    • testLashOutDoublesBasePowerFromIntimidate

      public static CompletableFuture<TestResult> testLashOutDoublesBasePowerFromIntimidate(BattleTestHelper helper)
      Lash Out's power will double if the user's stats were lowered at the start of the match.

      In this test, a Drapion that knows Lash Out faces a Squawkabilly with the Intimidate ability that knows Sleep Talk.

           Turn 1
           The Drapion uses Lash Out.
           The Squawkabilly uses Sleep Talk.
           -
           After Turn 1
           We verify that the Drapion's Attack was lowered by one stage.
           We verify that the Drapion's attack had its base power doubled.
       
    • testLashOutDoublesBasePowerFromIntimidateAfterSwitch

      public static CompletableFuture<TestResult> testLashOutDoublesBasePowerFromIntimidateAfterSwitch(BattleTestHelper helper)
      Lash Out's power will double if the user's stats were lowered at the start of the match, unless the stat was lowered from a switch after a KO.

      In this test, a Drapion that knows Lash Out faces a Shedinja that knows Sleep Talk and a Squawkabilly with the Intimidate ability that knows Sleep Talk.

           Turn 1
           The Drapion uses Lash Out.
           The Shedinja uses Sleep Talk.
           After Turn 1
           The Squawkabilly is sent in and its Intimidate activates.
           Turn 2
           The Drapion uses Lash Out.
           The Squawkabilly uses Sleep Talk.
           -
           After Turn 2
           We verify that the Drapion's Attack was lowered by one stage.
           We verify that the Drapion's attack did not have its base power doubled.
       
    • testLashOutDoublesBasePowerEvenIfHazeResetsStats

      public static CompletableFuture<TestResult> testLashOutDoublesBasePowerEvenIfHazeResetsStats(BattleTestHelper helper)
      Lash Out should double its base power even if the Lash Out user's stats are reset by Haze during the same turn.

      In this Double Battle test, an Okidogi that knows Lash Out is on a team with a Fezandipiti that knows Charm. Together they face a Munkidori that knows Sleep Talk and a Revavroom that knows Haze.

           Turn 1
           The Munkidori uses Sleep Talk.
           The Fezandipiti uses Charm on the Okidogi.
           The Revavroom uses Haze.
           The Okidogi uses Lash Out on the Revavroom.
           -
           After Turn 1
           We verify that the Okidogi's Attack is no longer lowered by two stages.
           We verify that the Okidogi's Lash Out had its base power doubled.