From 4a5db3d9c23d1bd9fd8c24b80adc436a5920c3f6 Mon Sep 17 00:00:00 2001 From: innerthunder Date: Sun, 6 Oct 2024 02:43:37 -0700 Subject: [PATCH] Fix Protean + charge move interaction --- src/phases/move-phase.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/phases/move-phase.ts b/src/phases/move-phase.ts index 97ad5101d94..62fe64294aa 100644 --- a/src/phases/move-phase.ts +++ b/src/phases/move-phase.ts @@ -300,6 +300,9 @@ export class MovePhase extends BattlePhase { /** Queues a {@linkcode MoveChargePhase} for this phase's invoked move. */ protected chargeMove() { + // Protean and Libero apply on the charging turn of charge moves + applyPreAttackAbAttrs(PokemonTypeChangeAbAttr, this.pokemon, null, this.move.getMove()); + this.scene.unshiftPhase(new MoveChargePhase(this.scene, this.pokemon.getBattlerIndex(), this.targets[0], this.move)); }