From 16abecd38712b22026a85e1119f2f4c38d89a00f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 17 一月 2020 14:45:18 +0800
Subject: [PATCH] 8364 【恺英】【后端】快速完成秘境探索增加完成提示

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
index e24b989..f79667d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
@@ -701,7 +701,7 @@
     if delItemCount > 0:
         ItemCommon.DelCostItemByBind(curPlayer, costItemIndexList, bindCnt, unBindCnt, delItemCount, ChConfig.ItemDel_ActivityPlace)
         
-    __DoActivityPlaceRewardEnd(curPlayer, finishCount)
+    __DoActivityPlaceRewardEnd(curPlayer, finishCount, isQuick=True)
     return
 
 def ProcessActivityPlace(curPlayer):
@@ -728,7 +728,7 @@
     __DoActivityPlaceRewardEnd(curPlayer, endCount, nextStartReduceSeconds)
     return
 
-def __DoActivityPlaceRewardEnd(curPlayer, endCount, nextStartReduceSeconds=0):
+def __DoActivityPlaceRewardEnd(curPlayer, endCount, nextStartReduceSeconds=0, isQuick=False):
     ## 放置活跃奖励结算
     
     remainCount = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ActivityPlaceRemainCount)
@@ -828,6 +828,9 @@
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_ActivityPlaceRewardItem, rewardItemCount)
         #GameWorld.DebugLog("    新增探索奖励: itemID=%s,itemCount=%s,rewardItemCount=%s" % (itemID, itemCount, rewardItemCount))
         
+    if isQuick:
+        PlayerControl.NotifyCode(curPlayer, "ActivityPlaceQuickFinishOK")
+        
     Sync_ActivityPlaceInfo(curPlayer)
     return
 

--
Gitblit v1.8.0