From 193bb382dcbf943fc0b719de36afab706c651e82 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期日, 27 四月 2025 20:08:56 +0800
Subject: [PATCH] 1111 【越南新】【英语】【BT】【砍树】防范跨服boss通知数量过多报错;
---
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBoss.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBoss.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBoss.py
index ddaceb7..4677991 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBoss.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBoss.py
@@ -465,6 +465,8 @@
bossInfoObj.RefreshSecond = max(0, refreshTime - (curTime - killedTime))
bossInfoObj.RefreshCD = refreshTime
bossInfo.BossInfoList.append(bossInfoObj)
+ if len(bossInfo.BossInfoList) >= 250:
+ break
if not bossInfo.BossInfoList:
return
--
Gitblit v1.8.0