From 208eb0a5fe8c46a3e8490db184a93eaf57edac10 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 28 十一月 2018 15:44:45 +0800
Subject: [PATCH] 4762 【后端】修复选择助战机器人阶段掉线重上时,刷新次数会重置的bug;

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py
index 801bb41..7ff53c3 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py
@@ -1697,7 +1697,7 @@
     maxDayTimes = ipyData.GetDayTimes()
     maxCnt = GetEnterFBMaxCnt(curPlayer, mapID)
     enterCnt = GetEnterFBCount(curPlayer, mapID)
-    if maxDayTimes and maxCnt - enterCnt >= maxDayTimes:
+    if mapID == ChConfig.Def_FBMapID_SealDemon and maxDayTimes and maxCnt - enterCnt >= maxDayTimes:
         GameWorld.DebugLog('当前次数已满,无需购买。。')
         return
     if hasBuyCnt >= canBuyCnt:

--
Gitblit v1.8.0