From dba015147555b10a64c286b6f473abc0fc926243 Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Mon, 10 Feb 2025 20:01:30 -0600 Subject: [PATCH] Activate mirror armor interaction test Also update i18 locales key to `magicCoatActivated` --- src/phases/move-phase.ts | 2 +- src/test/abilities/magic_bounce.test.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/phases/move-phase.ts b/src/phases/move-phase.ts index b7effa58e36..9d32189edb5 100644 --- a/src/phases/move-phase.ts +++ b/src/phases/move-phase.ts @@ -547,7 +547,7 @@ export class MovePhase extends BattlePhase { return; } - globalScene.queueMessage(i18next.t(this.reflected ? "battle:magicCoatExe" : "battle:useMove", { + globalScene.queueMessage(i18next.t(this.reflected ? "battle:magicCoatActivated" : "battle:useMove", { pokemonNameWithAffix: getPokemonNameWithAffix(this.pokemon), moveName: this.move.getName() }), 500); diff --git a/src/test/abilities/magic_bounce.test.ts b/src/test/abilities/magic_bounce.test.ts index 10befed75b4..2fc460662ca 100644 --- a/src/test/abilities/magic_bounce.test.ts +++ b/src/test/abilities/magic_bounce.test.ts @@ -93,8 +93,7 @@ describe("Abilities - Magic Bounce", () => { expect(game.scene.getPlayerPokemon()!.getStatStage(Stat.ATK)).toBe(-1); }); - // todo while Mirror Armor is not implemented - it.todo("should receive the stat change after reflecting a move back to a mirror armor user", async () => { + it("should receive the stat change after reflecting a move back to a mirror armor user", async () => { game.override.ability(Abilities.MIRROR_ARMOR); await game.classicMode.startBattle([ Species.MAGIKARP ]);