From 0fa44d13a5cc4330f07636f926a15dcf0d6d5d3c Mon Sep 17 00:00:00 2001 From: Bertie690 Date: Tue, 20 May 2025 23:27:32 -0400 Subject: [PATCH] Fixe test and added commetn --- test/moves/ignore-abilities.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/moves/ignore-abilities.test.ts b/test/moves/ignore-abilities.test.ts index 7bb932b23b0..c4fca5f9e28 100644 --- a/test/moves/ignore-abilities.test.ts +++ b/test/moves/ignore-abilities.test.ts @@ -81,6 +81,7 @@ describe("Moves - Ability Ignores", () => { expect(game.scene.getPlayerPokemon()?.getLastXMoves()[0].move).toBe(Moves.SUNSTEEL_STRIKE); }); + // TODO: Verify this behavior on cart it("should ignore enemy abilities when called by Instruct", async () => { game.override.moveset([Moves.SUNSTEEL_STRIKE, Moves.INSTRUCT]).battleStyle("double"); await game.classicMode.startBattle([Species.SOLGALEO, Species.LUNALA]); @@ -93,6 +94,7 @@ describe("Moves - Ability Ignores", () => { await game.phaseInterceptor.to("MoveEffectPhase"); // initial attack await game.phaseInterceptor.to("MoveEffectPhase"); // instruct + await game.phaseInterceptor.to("MoveEffectPhase"); // instructed move use expect(game.scene.arena.ignoreAbilities).toBe(true); expect(game.scene.arena.ignoringEffectSource).toBe(solgaleo.getBattlerIndex());