This commit is contained in:
PC-20230316NUNE\Administrator
2024-01-19 19:03:44 +08:00
parent ed4e094536
commit 79c5ef00f7
59 changed files with 4221 additions and 335 deletions

View File

@@ -111,6 +111,7 @@ export default class GOnHookManager extends Singleton{
//获取下一只野怪
getNextCreeps(){
if(this.getKillSreepsIds().length > 50) return;
if(!this.sreeps) return;
let creeps = this.sreeps.get(this.sreeps.keys().next()?.value);
this.sreeps.delete(creeps.key);