fix:#1706 助战通关宗门试炼 结算界面仍显示获得奖励 #2938增加宗门试炼兑换装备的接口
| | |
| | | RunQuestEvent(curPlayer, "suitplus", cnt, Def_RunQuestType_Normal)
|
| | | return
|
| | |
|
| | | def EventRespons_TrialExchange(curPlayer, costItemID):
|
| | | #宗门试炼兑换装备
|
| | | RunQuestEvent(curPlayer, "trialexange", costItemID, Def_RunQuestType_Normal)
|
| | | return
|
| | | #---------------------------------------------------------------------
|
| | |
|
| | | #================================================================================
|
| | |
| | | #增加助战积分
|
| | | if isHelpFight:
|
| | | FBCommon.AddFBHelpPoint(curPlayer, mapID, 1)
|
| | | overDict.pop(FBCommon.Over_itemInfo, 0)
|
| | | else:
|
| | | # 如果在副本中过天,则只给物品奖励,不变更过关信息
|
| | | if not isInFBOnDay:
|
| | |
| | |
|
| | | # if not canDropPlayerList:
|
| | | # FBCommon.Notify_FB_Over(curPlayer, overDict)
|
| | | GameWorld.DebugLog(' overDict=%s'%overDict, curPlayer.GetID())
|
| | | FBCommon.Notify_FB_Over(curPlayer, overDict)
|
| | | return
|
| | |
|
| | |
| | | #给物品
|
| | | 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)
|