From 52561abc881edd022d86d072f73bb36106faf770 Mon Sep 17 00:00:00 2001 From: Tiduzz Date: Mon, 6 May 2024 11:08:00 -0300 Subject: [PATCH] Resolved bug on refinement, working properly now. There is a bug on fail, it display the message "BUT IT FAILED" even though DAMP message went through --- src/phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index 1ca20ceb013..cdf3ebc1969 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -2254,7 +2254,7 @@ export class MovePhase extends BattlePhase { if ((moveQueue.length && moveQueue[0].move === Moves.NONE) || !targets.length) { moveQueue.shift(); - if (!(this.move.moveId in [Moves.EXPLOSION,Moves.SELF_DESTRUCT,Moves.MISTY_EXPLOSION])){ + if ((this.move.moveId in [Moves.SELF_DESTRUCT,Moves.EXPLOSION,Moves.MISTY_EXPLOSION])){ this.cancel(); } }