From c34c903cfeecfd6e03b1f033d7de98dfabb76c0c Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 10 七月 2019 15:25:44 +0800
Subject: [PATCH] 8004 子 【主干】寻宝 / 【后端】【主干】新增物品效果

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianBoss.py |   19 +++++--------------
 1 files changed, 5 insertions(+), 14 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianBoss.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianBoss.py
index 7192746..2ed99be 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianBoss.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianBoss.py
@@ -71,9 +71,6 @@
     
     if curPlayer.GetOfficialRank() < ipyData.GetRealmLV():
         return
-#    #诛仙总评分
-#    if ItemCommon.GetZhuXianEquipTotalGS(curPlayer) < ipyData.GetZhuXianScore():
-#        return
     
     enterCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_EnterFbCntDay % ChConfig.Def_FBMapID_ZhuXianBoss)
     if enterCnt >= FBCommon.GetEnterFBMaxCnt(curPlayer, ChConfig.Def_FBMapID_ZhuXianBoss):
@@ -125,13 +122,7 @@
 # @return 返回值无意义
 # @remarks 开启副本
 def OnOpenFB(tick):
-    lineID = GameWorld.GetGameWorld().GetPropertyID() - 1
-    bossID = CurFBLineBOSSID(lineID)
-    if not bossID:
-        return
-    key = ShareDefine.Def_Notify_WorldKey_GameWorldBossReborn % bossID
-    GameWorld.GetGameWorld().SetGameWorldDict(key, 1)
-    GameWorld.DebugLog('    刷BOSSbossID=%s' % bossID)
+
     return
 
 ## 进副本
@@ -143,11 +134,11 @@
     playerID = curPlayer.GetPlayerID()
 
     lineID = GameWorld.GetGameWorld().GetPropertyID() - 1    
-    
+    gameFB = GameWorld.GetGameFB()
     playerCnt = GameWorld.GetGameWorld().GetMapCopyPlayerManager().GetPlayerCount()
     GameWorld.DebugLog("DoEnterFB...playerCnt=%s,lineID=%s" % (playerCnt, lineID), playerID)
-    
-    if lineID < 0:
+    overTick = gameFB.GetGameFBDictByKey(FBDict_IsOver)
+    if lineID < 0 or overTick:
         PlayerControl.PlayerLeaveFB(curPlayer)
         return
     hadDelTicket = FBCommon.GetHadDelTicket(curPlayer)
@@ -162,7 +153,7 @@
 
         UpdateHurtInfo(curPlayer, 0, True)
            
-    gameFB = GameWorld.GetGameFB()
+    
     # 上鼓舞buff
     encourageLV = gameFB.GetPlayerGameFBDictByKey(playerID, FBPlayerDict_EncourageLV)
     if encourageLV > 0:

--
Gitblit v1.8.0