[Bug] Fixed delayed attacks pushing to move history twice on charging turn (#6371)

This commit is contained in:
Bertie690 2025-08-23 17:00:00 -04:00 committed by GitHub
parent cd137062ea
commit af963c7902
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3277,7 +3277,6 @@ export class DelayedAttackAttr extends OverrideMoveEffectAttr {
)
)
user.pushMoveHistory({move: move.id, targets: [target.getBattlerIndex()], result: MoveResult.OTHER, useMode, turn: globalScene.currentBattle.turn})
user.pushMoveHistory({move: move.id, targets: [target.getBattlerIndex()], result: MoveResult.OTHER, useMode, turn: globalScene.currentBattle.turn})
// Queue up an attack on the given slot.
globalScene.arena.positionalTagManager.addTag<PositionalTagType.DELAYED_ATTACK>({