From eda548186ab2307e3d25be0b0274e659a28fd9ec Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 01 四月 2020 17:06:27 +0800 Subject: [PATCH] 8401 【后端】BOSS复活修改(修复服务器未击杀过活动boss时无法收到该boss的存活状态封包bug) --- ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBoss.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBoss.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBoss.py index 75b1354..4b6387a 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBoss.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBoss.py @@ -447,6 +447,9 @@ bossInfoObj.RefreshCD = refreshTime bossInfo.BossInfoList.append(bossInfoObj) + if not bossInfo.BossInfoList: + return + bossInfo.BossCnt = len(bossInfo.BossInfoList) if not curPlayer: # 全服广播在线玩家 -- Gitblit v1.8.0