From 81de9d0ad10ff2e5c73cc311e8cca6b4e7e42bcf Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 19 四月 2019 19:21:06 +0800
Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(跨服副本动态线路分流人数配置)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCostRebate.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCostRebate.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCostRebate.py
index d0c111d..5044233 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCostRebate.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCostRebate.py
@@ -238,7 +238,7 @@
         PlayerControl.WorldNotify(0, notifyKey, [curPlayer.GetPlayerName(), needCostGold])
         
     for itemID, itemCount, isBind in awardItemList:
-        ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isBind, [IPY_GameWorld.rptItem])
+        ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, 0, [IPY_GameWorld.rptItem])
         
     addDataDict = {"TemplateID":templateID, "NeedCostGold":needCostGold, "AwardIndex":awardIndex,
                    "ItemList":str(awardItemList)}
@@ -270,7 +270,8 @@
     templateIDList = ipyData.GetTemplateIDList()
     if not templateIDList:
         return
-    
+    job = curPlayer.GetJob()
+    actWorldLV = actCostRebateInfo.get(ShareDefine.ActKey_WorldLV, 0)
     openServerDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay) + 1
     actInfo = ChPyNetSendPack.tagMCCostRebateInfo()
     actInfo.StartDate = GameWorld.GetOperationActionDateStr(ipyData.GetStartDate(), openServerDay)
@@ -290,7 +291,7 @@
             awardInfo.AwardIndex = ipyData.GetAwardIndex()
             awardInfo.NeedGold = ipyData.GetNeedCostGold()
             awardInfo.AwardItem = []
-            for itemID, itemCount, isBind in ipyData.GetAwardItemList():
+            for itemID, itemCount, isBind in __GetItemList(ipyData.GetAwardItemList(), job, actWorldLV):
                 awardItem = ChPyNetSendPack.tagMCCostRebateAwardItem()
                 awardItem.ItemID = itemID
                 awardItem.ItemCount = itemCount

--
Gitblit v1.8.0