From 33d723480a9c2c17022d58157a92b65a431f3ebd Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期六, 25 八月 2018 16:38:49 +0800
Subject: [PATCH] fix:#1706 助战通关宗门试炼 结算界面仍显示获得奖励   #2938增加宗门试炼兑换装备的接口

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MunekadoTrial.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MunekadoTrial.py
index 91a7693..de7255d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MunekadoTrial.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MunekadoTrial.py
@@ -418,6 +418,7 @@
         #增加助战积分
         if isHelpFight:
             FBCommon.AddFBHelpPoint(curPlayer, mapID, 1)
+            overDict.pop(FBCommon.Over_itemInfo, 0)
         else:
             # 如果在副本中过天,则只给物品奖励,不变更过关信息
             if not isInFBOnDay:
@@ -450,6 +451,7 @@
             
 #        if not canDropPlayerList:
 #            FBCommon.Notify_FB_Over(curPlayer, overDict)
+        GameWorld.DebugLog('    overDict=%s'%overDict, curPlayer.GetID())
         FBCommon.Notify_FB_Over(curPlayer, overDict)
     return
 
@@ -725,6 +727,8 @@
     #给物品
     ItemControler.GivePlayerItem(curPlayer, exchangeItemID, exchangeItemCount, exchangeItemIsBind, [IPY_GameWorld.rptItem], 
                                  event=[ChConfig.ItemGive_TrialExchange, False, {}])
+    #任务
+    EventShell.EventRespons_TrialExchange(curPlayer, costItemID)
     
     GameWorld.DebugLog("宗门兑换成功!exchangeID=%s,costItemID=%s,costItemCount=%s,delInfoDict=%s" 
                            % (exchangeID, costItemID, costItemCount, delInfoDict), playerID)

--
Gitblit v1.8.0