Class HyperVoiceTests

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

public class HyperVoiceTests extends Object
Tests for Hyper Voice
  • Constructor Details

    • HyperVoiceTests

      public HyperVoiceTests()
  • Method Details

    • testHyperVoiceHitsBehindSubstitute

      public static CompletableFuture<TestResult> testHyperVoiceHitsBehindSubstitute(BattleTestHelper helper)
      Hyper Voice is a sound-based move. Hyper Voice can hit Pokémon even if they are behind a substitute.

      In this test, a Tympole that knows Hyper Voice faces a Trumbeak that knows Substitute.

           Turn 1
           The Trumbeak uses Substitute.
           The Tympole uses Hyper Voice.
           -
           After Turn 1
           We verify that the Trumbeak's Substitute did not take any damage.
           We verify that the Trumbeak took damage to its own HP.