fix(fight): 增加boss死亡逻辑

This commit is contained in:
1
2025-11-10 08:25:40 +00:00
parent 3b84572455
commit 6cb091a4be
9 changed files with 61 additions and 81 deletions

View File

@@ -33,7 +33,7 @@ func PprofWeb() {
}
}
func signalHandlerForMain(sig os.Signal) {
fight.Fightpool.Free()
fight.Fightpool.ReleaseTimeout(100)
player.Mainplayer.Range(func(key uint32, value *player.Player) bool {
value.Save()