From c28ebaada1bf77812a102060e48ae79ec8364612 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 13 十二月 2019 16:27:13 +0800
Subject: [PATCH] 8353 【后端】个人BOSS修改(进入次数判断验证,没进入次数时也可以进入未过关过的线路)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/EnterFB.py |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/EnterFB.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/EnterFB.py
index a228fff..107a2e5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/EnterFB.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/EnterFB.py
@@ -19,6 +19,7 @@
 import PlayerControl
 import FBCommon
 import ChConfig
+import PlayerFB
 
 
 ## GM命令执行入口
@@ -37,7 +38,11 @@
     posY = paramList[3] if len(paramList) > 3 else 0
     if FBCommon.GetFBPDictValue(curPlayer, ChConfig.Def_PDict_LastEnterFBTick % mapID):
         FBCommon.SetFBPDictValue(curPlayer, ChConfig.Def_PDict_LastEnterFBTick % mapID, 0)
-    if mapID in ChConfig.Def_CrossMapIDList:
+        
+    tick = GameWorld.GetGameWorld().GetTick()
+    if mapID in ChConfig.ClientCustomScene:
+        PlayerFB.DoEnterCustomScene(curPlayer, mapID, lineID, tick)
+    elif mapID in ChConfig.Def_CrossMapIDList:
         PlayerControl.PlayerEnterCrossServer(curPlayer, mapID, lineID)
     else:
         PlayerControl.PlayerEnterFB(curPlayer, mapID, lineID, posX, posY)

--
Gitblit v1.8.0