From df2aaca6d5b503cc993ec2bf782de6a3a6d900cb Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期六, 27 四月 2019 11:52:45 +0800
Subject: [PATCH] 6636 【后端】【2.0】仙宝寻主

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossDemonKing.py |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossDemonKing.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossDemonKing.py
index be16d05..79c22c4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossDemonKing.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossDemonKing.py
@@ -71,13 +71,13 @@
 def GetCurFBFuncLineID():
     ## 获取本线路功能线路ID
     if GameWorld.IsCrossServer():
-        return GameWorld.GetGameWorld().GetPropertyID() % 10000 / 10
+        return FBCommon.GetCrossDynamicLineMapFuncLineID()
     return GameWorld.GetGameWorld().GetPropertyID() - 1
 
 def GetCurFBLineZoneID():
     ## 获取本线路所属跨服分区
     if GameWorld.IsCrossServer():
-        return GameWorld.GetGameWorld().GetPropertyID() / 10000
+        return FBCommon.GetCrossDynamicLineMapZoneID()
     return 0
 
 ## 进副本
@@ -86,8 +86,7 @@
     zoneID = GetCurFBLineZoneID()
     funcLineID = GetCurFBFuncLineID()
     bossID = GetCurFBLineBOSSID(lineID=funcLineID)
-    visitCount = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FairyDomainVisitCnt)
-    GameWorld.Log("DoEnterFB zoneID=%s,funcLineID=%s,bossID=%s,visitCount=%s" % (zoneID, funcLineID, bossID, visitCount), playerID)
+    GameWorld.Log("DoEnterFB zoneID=%s,funcLineID=%s,bossID=%s" % (zoneID, funcLineID, bossID), playerID)
     PyGameData.g_fbPickUpItemDict.pop(playerID, 0)
     return
 

--
Gitblit v1.8.0