mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-19 14:34:31 +08:00
修复取消方向伤害造成的错误
This commit is contained in:
1 parent
b8711e2014
commit
7ce6acb664
8 files changed
+72
-104
No files matched your search
@@ -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}`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user