diff --git a/src/core/execution/AttackExecution.ts b/src/core/execution/AttackExecution.ts index 5038c28ad..62d692956 100644 --- a/src/core/execution/AttackExecution.ts +++ b/src/core/execution/AttackExecution.ts @@ -185,8 +185,11 @@ export class AttackExecution implements Execution { this.attack.delete(); this.active = false; - // Record stats - this.mg.stats().attackCancel(this._owner, this.target, survivors); + // Not all retreats are canceled attacks + if (this.attack.retreated()) { + // Record stats + this.mg.stats().attackCancel(this._owner, this.target, survivors); + } } tick(ticks: number) {