From 54d84deb1ca272784a1acc2fe33277ec2b4f5f37 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 09 一月 2020 17:42:46 +0800
Subject: [PATCH] 8346 【恺英】【后端】协助系统(副本协助奖励仅在发起玩家在线时才结算;增加协助玩家协助状态设置; 跨服服务器暂屏蔽发起协助)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_KillDevil.py |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_KillDevil.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_KillDevil.py
index bf77a59..053fdda 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_KillDevil.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_KillDevil.py
@@ -81,11 +81,6 @@
     gameFB = GameWorld.GetGameFB()
     
     lineTimeCfg = FBCommon.GetFBLineStepTime(mapID)
-    
-    # 进入消耗处理
-    if not FBCommon.GetHadDelTicket(curPlayer):
-        FBCommon.SetHadDelTicket(curPlayer)
-        PlayerAssist.SetFBNoAssistPlayerID(curPlayer)
         
     fbStep = gameFB.GetFBStep()
     if fbStep == FB_Step_Open:
@@ -212,7 +207,7 @@
     FBCommon.SetFBStep(FB_Step_Over, tick)
     
     mapID = FBCommon.GetRecordMapID(GameWorld.GetMap().GetMapID())
-    noAssistPlayerID, assistMoneyType, assistPlayerMoneyDict = PlayerAssist.OnFBAssistOver(mapID)
+    noAssistPlayerID, assistMoneyType, assistPlayerMoneyDict = PlayerAssist.OnFBAssistOver(isPass, mapID)
     exitTime = FBCommon.GetFBLineStepTime(mapID)[Def_ExitTime] * 1000
     rewardInfo = FBCommon.GetFBLineReward(mapID, 0)
     noAssistItemList, assistItemList = ([], []) if not rewardInfo else rewardInfo
@@ -226,7 +221,7 @@
         
         playerID = curPlayer.GetPlayerID()
         overDict = {FBCommon.Over_dataMapID:mapID, FBCommon.Over_isPass: int(isPass)}
-        if isPass:
+        if isPass and noAssistPlayerID:
             itemList = []
             if playerID == noAssistPlayerID:
                 itemList = noAssistItemList

--
Gitblit v1.8.0