From 8d37b77678ea5dc0703354a6daaa1207ce6e8be3 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 28 六月 2019 21:56:45 +0800
Subject: [PATCH] 7661 【后端】【主干】屏蔽多余日志输出(非拍品转拍品ErrLog改DebugLog,重刷传奇属性ErrLog改DebugLog)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BossHome.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BossHome.py
index c07e615..b2353fc 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BossHome.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BossHome.py
@@ -75,7 +75,6 @@
 def OnChangeMapAsk(ask, tick):
     return IPY_GameWorld.cmeAccept
 
-
 ## 进副本
 #  @param curPlayer
 #  @param tick
@@ -85,17 +84,14 @@
     if curPlayer.GetHP() == 0:
         PlayerControl.PlayerLeaveFB(curPlayer)
         return
-    # 设置副本公共属性的单独处理,防止队员进入后被修改
-    if not FBCommon.GetHadSetFBPropertyMark():
-        lineID = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_ReqFBFuncLine)
-        FBCommon.SetFBPropertyMark(lineID)
-        
-    GameWorld.DebugLog("DoEnterFB...lineID=%s" % FBCommon.GetFBPropertyMark(), playerID)
+
+    lineID = PlayerControl.GetFBFuncLineID(curPlayer) 
+    GameWorld.DebugLog("DoEnterFB...lineID=%s" % lineID, playerID)
     hadDelTicket = FBCommon.GetHadDelTicket(curPlayer)
     if not hadDelTicket:
+        GameWorld.DebugLog('扣门票!')
         FBCommon.SetHadDelTicket(curPlayer)
         canEnterLine = PlayerVip.GetPrivilegeValue(curPlayer, ChConfig.VIPPrivilege_BossHome)
-        lineID = FBCommon.GetFBPropertyMark()
         if lineID+1 > canEnterLine:
             costGold = __GetEnterCostMoney(lineID)
             costMoneyList = PlayerControl.HaveMoneyEx(curPlayer, ShareDefine.TYPE_Price_Gold_Paper_Money, costGold)
@@ -176,7 +172,7 @@
 # @remarks 玩家主动离开副本.
 def DoPlayerDead(curPlayer):
     FBCommon.Notify_FB_Over(curPlayer, {FBCommon.Over_isPass:0})
-    lineID = FBCommon.GetFBPropertyMark()
+    lineID = PlayerControl.GetFBFuncLineID(curPlayer) 
     leaveTime = int(FBCommon.GetFBLineStepTime(ChConfig.Def_FBMapID_BossHome, lineID))
     curPlayer.Sync_TimeTick(IPY_GameWorld.tttLeaveMap, 0, leaveTime*1000, True)
     return
\ No newline at end of file

--
Gitblit v1.8.0