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
This commit is contained in:
Tiduzz 2024-05-06 11:08:00 -03:00
parent 6a3ea63254
commit 52561abc88

View File

@ -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();
}
}