xdh
2019-04-11 0063d3fb2ccf7144f27e2f0ce12a58382a2475e9
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