Class AerilateTests

java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.ability.AerilateTests

public class AerilateTests extends Object
  • Constructor Details

    • AerilateTests

      public AerilateTests()
  • Method Details

    • testAerilateConvertsNormalToFlyingAndBoosts

      public static CompletableFuture<TestResult> testAerilateConvertsNormalToFlyingAndBoosts(BattleTestHelper helper)
      Aerilate should convert a Normal attacking move into Flying-type and apply the ability power boost. Test plan: - Turn 1: Aerilate user uses a Normal move (e.g., RETURN/TACKLE) against a neutral foe. - Assert: the move's damage and type reflect conversion + ability boost.
    • testElectrifyPreventsAerilateConversion

      public static CompletableFuture<TestResult> testElectrifyPreventsAerilateConversion(BattleTestHelper helper)
      Ordering: Electrify should be applied before Aerilate; Electrify should convert the move to Electric and thus prevent Aerilate from converting it to Flying for that use. Test plan: - Turn 1: Opponent uses ELECTRIFY (or equivalent) on p1 (so the next Normal move becomes Electric). - Same turn: p1 uses a Normal move; check that Electrify's conversion (Electric) is applied rather than Aerilate.
    • testAerilateAppliedBeforeIonDeluge

      public static CompletableFuture<TestResult> testAerilateAppliedBeforeIonDeluge(BattleTestHelper helper)
      Aerilate should be applied before Ion-Deluge-like effects; if Aerilate converts Normal→Flying, Ion-Deluge should not subsequently re-convert it. Test plan: - Arrange an Ion-Deluge-like field or move effect simultaneously with Aerilate in play and verify precedence.
    • testGastroAcidSuppressesAerilateWhenAppliedBeforeExecution

      public static CompletableFuture<TestResult> testGastroAcidSuppressesAerilateWhenAppliedBeforeExecution(BattleTestHelper helper)
      Gastro Acid applied before move execution should prevent Aerilate from converting the move.
    • testNeutralizingGasSuppressesAerilateInDoubles

      public static CompletableFuture<TestResult> testNeutralizingGasSuppressesAerilateInDoubles(BattleTestHelper helper)
      While Neutralizing Gas is active, Aerilate should be suppressed for all affected mons.
    • testGainingAerilateViaSkillSwapAffectsSubsequentMoves

      public static CompletableFuture<TestResult> testGainingAerilateViaSkillSwapAffectsSubsequentMoves(BattleTestHelper helper)
      Gaining Aerilate mid-battle should affect the moves Test plan: - Turn 1: Foe uses Skill Swap to gain Aerilate from user. - Turn 2: User uses a Normal move; verify it is still Normal-type
    • testAerilateScopeForMirrorMoveAndCopycat

      public static CompletableFuture<TestResult> testAerilateScopeForMirrorMoveAndCopycat(BattleTestHelper helper)
      Copying/called moves (Mirror Move/Copycat/Metronome) should only be affected by Aerilate when the current user actually has Aerilate. The lagging tail is to ensure the copier moves after the Aerilate user. Test plan: - Turn 1: Aerilate user uses a Normal move; copier uses Mirror Move - Assert: copier's move remains Normal-type - Turn 2: Aerilate user uses a Normal move; copier uses Copycat - Assert: copier's move remains Normal-type