From 43a9e6c87a5a4980902e86eb0470d885b1a3fb8f Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 22 十月 2018 21:23:02 +0800
Subject: [PATCH] 4282 【主干】【1.1.0】【后端】新增物品效果:获得X法宝X经验

---
 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