mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-26 18:26:23 +00:00
更新
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user