From 99840d0792690d4049741e4aeff8a9d3e8d19ffd Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 27 十一月 2018 14:52:20 +0800
Subject: [PATCH] 2467 【BUG】【1.3】封魔坛次数购买可超过上限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