refactor: 迁移旧ui至新ui系统

This commit is contained in:
AncTe committed 2023-11-05 10:54:26 +08:00
1 parent 9a97a470f1
commit 8fcc570e5d
29 files changed
+219 -320

No files matched your search

+2 -1
View File
@@ -715,10 +715,11 @@ export class DamageEnemy<T extends EnemyIds = EnemyIds> {
start = curr;
}
if (i++ >= 10000) {
throw new Error(
console.warn(
`Unexpected endless loop in calculating critical.` +
`Enemy Id: ${this.id}. Loc: ${this.x},${this.y}. Floor: ${this.floorId}`
);
break;
}
}