mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 23:09:27 +02:00
Fix duplicate move queue
This commit is contained in:
parent
b67bcc9217
commit
434662da98
@ -35,7 +35,6 @@ export class MoveChargePhase extends PokemonPhase {
|
|||||||
|
|
||||||
new MoveChargeAnim(move.chargeAnim, move.id, user).play(this.scene, false, () => {
|
new MoveChargeAnim(move.chargeAnim, move.id, user).play(this.scene, false, () => {
|
||||||
move.showChargeText(user, target);
|
move.showChargeText(user, target);
|
||||||
user.getMoveQueue().push({ move: move.id, targets: [ target?.getBattlerIndex() ]});
|
|
||||||
|
|
||||||
applyMoveChargeAttrs(MoveEffectAttr, user, target, move).then(() => {
|
applyMoveChargeAttrs(MoveEffectAttr, user, target, move).then(() => {
|
||||||
user.addTag(BattlerTagType.CHARGING, 1, move.id, user.id);
|
user.addTag(BattlerTagType.CHARGING, 1, move.id, user.id);
|
||||||
|
Loading…
Reference in New Issue
Block a user