mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 23:09:27 +02:00
Fix Protean + charge move interaction
This commit is contained in:
parent
d613ffe7a8
commit
4a5db3d9c2
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user