From a2b6496da2384f6ad3adb23a75e2776cb7c95862 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 16 三月 2020 18:39:58 +0800
Subject: [PATCH] 8401 【后端】BOSS复活修改(boss信息表无复活时间配置的boss不处理复活检查逻辑,防止和关联的活动控制复活状态冲突)

---
 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 b430df7..75b1354 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBoss.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/CrossBoss.py
@@ -265,6 +265,9 @@
             mapID = ipyData.GetMapID()
             if mapID not in ChConfig.Def_CrossZoneTypeName:
                 continue
+            refreshTimeStr = ipyData.GetRefreshTime()
+            if not refreshTimeStr or refreshTimeStr == "0":
+                continue
             zoneTypeName = ChConfig.Def_CrossZoneTypeName[mapID]
             if not hasattr(ipyDataMgr, "Get%sCount" % zoneTypeName):
                 continue

--
Gitblit v1.8.0