From 62dfcf83db26f64cd5a46691d4755073473d2ff3 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 15 九月 2020 15:37:39 +0800
Subject: [PATCH] 1111 【主干】【长尾】【BT】防范boss伤血列表找不到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