修复取消方向伤害造成的错误

This commit is contained in:
AncTe committed 2023-08-02 15:20:39 +08:00
1 parent b8711e2014
commit 7ce6acb664
8 files changed
+72 -104

No files matched your search

+1 -1
View File
@@ -712,7 +712,7 @@ export class DamageEnemy<T extends EnemyIds = EnemyIds> {
if (i++ >= 10000) {
throw new Error(
`Unexpected endless loop in calculating critical.` +
`Enemy loc: ${this.x},${this.y}. Floor: ${this.floorId}`
`Enemy Id: ${this.id}. Loc: ${this.x},${this.y}. Floor: ${this.floorId}`
);
}
}