From 7c43f25db5f9a04b99892c1efc8f0647f767c20e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 23 十月 2018 15:03:02 +0800
Subject: [PATCH] 2149 boss被击杀无归属玩家(暂时添加击杀boss相关详细日志、掉落日志、拾取日志);

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py |    4 +++-
 1 files changed, 3 insertions(+), 1 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 4801ede..632f29d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
@@ -69,7 +69,9 @@
     if onEventType == ShareDefine.Def_OnEventTypeEx:
         # 重置完成次数
         for i in xrange(ipyDataMgr.GetDailyQuestCount()):
-            key = ChConfig.Def_PDict_Activity_FinishCnt % (i+1)
+            ipyData = ipyDataMgr.GetDailyQuestByIndex(i)
+            
+            key = ChConfig.Def_PDict_Activity_FinishCnt % ipyData.GetID()
             curPBCnt = __GetPDictValue(curPlayer, key) #单次进度值
             if curPBCnt:
                 __SetPDictValue(curPlayer, key, 0)

--
Gitblit v1.8.0