Class TeraBlastTests

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

public class TeraBlastTests extends Object
Tests for Tera Blast
  • Constructor Details

    • TeraBlastTests

      public TeraBlastTests()
  • Method Details

    • testTiedStatsLeaveMoveSpecialWhileTerastallized

      public static CompletableFuture<TestResult> testTiedStatsLeaveMoveSpecialWhileTerastallized(BattleTestHelper helper)
      Tera Blast should be a special attack when stats are tied.

      In this test, a Regidrago that knows the move Tera Blast faces a Regirock that knows Protect - Turn 1 The Regidrago Terastallizes. The Regirock uses Endure. The Regidrago uses Tera Blast - We verify that the Regidrago's last attack was Special.

    • testHigherAttackMakesMovePhysicalWhileTerastallized

      public static CompletableFuture<TestResult> testHigherAttackMakesMovePhysicalWhileTerastallized(BattleTestHelper helper)
      Tera Blast should be a physical attack when terastallized with a higher attack stat.

      In this test, a Terapagos with 252 Attack EVs that knows the move Tera Blast faces a Regirock that knows Sleep Talk - Turn 1 The Terapagos Terastallizes and uses Tera Blast. The Regirock uses Sleep Talk. - We verify that the Terapagos's last attack was Physical.

    • testHigherAttackLeavesMoveSpecialWhileNotTerastallized

      public static CompletableFuture<TestResult> testHigherAttackLeavesMoveSpecialWhileNotTerastallized(BattleTestHelper helper)
      Tera Blast should remain a special attack when not terastallized with a higher attack stat.

      In this test, a Terapagos with 252 Attack EVs that knows the move Tera Blast faces a Regirock that knows Sleep Talk - Turn 1 The Terapagos uses Tera Blast. The Regirock uses Sleep Talk. - We verify that the Terapagos's last attack was Special.

    • testAttackModIgnoresUnawareForCategory

      public static CompletableFuture<TestResult> testAttackModIgnoresUnawareForCategory(BattleTestHelper helper)
      Tera Blast should be a physical attack when terastallized with stat mod, even if opponent is unaware.

      In this test, a Terapagos with +1 Attack boost that knows the move Tera Blast faces an Unaware Clodsire that knows Sleep Talk - Turn 1 The Terapagos Terastallizes and uses Tera Blast. The Clodsire uses Sleep Talk. - We verify that the Terapagos is terastallized. We verify that the Terapagos's Attack stage is 0 (started at +1, then lowered by 1 from Stellar Tera Blast's self-debuff). We verify that the Terapagos's last attack was Physical (the +1 Attack stage was respected when determining the move's category, despite Clodsire's Unaware).