This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-28 02:38:46 +08:00
parent 07db3912cc
commit 5a9ab02b54
3 changed files with 44 additions and 13 deletions

View File

@@ -107,11 +107,13 @@ export default class GOnHookManager extends Singleton{
//删除
this.killSreeps.splice(index,1);
//通知添加野怪被删除
app.event.emit(GOnHookManagerEvent.DEL_KILL_SREEP,creeps);
// //通知添加野怪被删除
// if(await GAPI.GOnHookSellCreeps(creeps.key)){
// return true;
// }else{
// }
return await GAPI.GOnHookSellCreeps(creeps.key);
}
}