feat: retreat stops attack + show when ennemy retreats (#209)

This commit is contained in:
Ilan Schemoul
2025-03-11 01:25:21 +01:00
committed by GitHub
parent 04833caf4d
commit 87d1a8d69d
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -185,6 +185,10 @@ export class AttackExecution implements Execution {
return;
}
if (this.attack.retreating()) {
return;
}
if (!this.attack.isActive()) {
this.active = false;
return;