From f089bf39d557fc228f7bd3b2eb8c85c7b402e7dc Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 02 十一月 2018 18:40:13 +0800
Subject: [PATCH] 4575 脱机挂测试
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_MunekadoTrial.py | 10 ++++++++--
1 files changed, 8 insertions(+), 2 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..2bff3c9 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
@@ -411,13 +411,16 @@
if star == 5:
joinType = FBCommon.GetFBJoinType(curPlayer, isHelpFight)
- EventShell.EventRespons_FBEvent(curPlayer, "zmsl_%s" % (lineID+1))
+
EventReport.WriteEvent_FB(curPlayer, mapID, lineID, ChConfig.CME_Log_End, joinType, 1)
+ EventShell.EventRespons_FBEvent(curPlayer, "zmsl_%s_%s" % (lineID, star))
PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_MunekadoTrial, 1, [playerCount, star, lineID+1])
-
+ EventShell.EventRespons_FBEvent(curPlayer, "passzmsl")
#增加助战积分
if isHelpFight:
+ EventShell.EventRespons_FBEvent(curPlayer, "helpzmsl_%s"%lineID)
FBCommon.AddFBHelpPoint(curPlayer, mapID, 1)
+ overDict.pop(FBCommon.Over_itemInfo, 0)
else:
# 如果在副本中过天,则只给物品奖励,不变更过关信息
if not isInFBOnDay:
@@ -450,6 +453,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 +729,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