From a23a246c94236a699f3c423c2dce97eb6d0498c7 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 13 二月 2019 14:41:40 +0800
Subject: [PATCH] 5819 【后端】【1.6】运营活动支持对应不同的职业和世界等级(累计充值修改)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActTotalRecharge.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActTotalRecharge.py
index bd5e8a1..94cbd1c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActTotalRecharge.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActTotalRecharge.py
@@ -262,6 +262,7 @@
     if not templateIDList:
         return
     job = curPlayer.GetJob()
+    actWorldLV = actTotalRechargeInfo.get(ShareDefine.ActKey_WorldLV, 0)
     openServerDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay) + 1
     actInfo = ChPyNetSendPack.tagMCActTotalRechargeInfo()
     actInfo.StartDate = GameWorld.GetOperationActionDateStr(ipyData.GetStartDate(), openServerDay)
@@ -281,8 +282,8 @@
             awardInfo.AwardIndex = ipyData.GetAwardIndex()
             awardInfo.NeedGold = ipyData.GetNeedGold()
             awardInfo.AwardItem = []
-            awardItemDict = ipyData.GetAwardItem()
-            for itemID, itemCount, isBind in awardItemDict.get(str(job), []):
+            awardItemList = __GetItemList(ipyData.GetAwardItem(), job, actWorldLV)
+            for itemID, itemCount, isBind in awardItemList:
                 awardItem = ChPyNetSendPack.tagMCTotalRechargeAwardItem()
                 awardItem.ItemID = itemID
                 awardItem.ItemCount = itemCount

--
Gitblit v1.8.0