ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
@@ -21,6 +21,7 @@
import ChPyNetSendPack
import ItemControler
import PlayerControl
import PlayerGubao
import PlayerMail
import ChConfig
@@ -264,6 +265,22 @@
    if not rewardItemList:
        return
    
    if investType == ChConfig.InvestType_Month:
        # 古宝月卡奖励双倍特权
        exItemList = []
        gubaoExSign = 10 # 标记古宝额外奖励
        for itemInfo in rewardItemList:
            itemID, itemCount = itemInfo[:2]
            addPer = PlayerGubao.GetGubaoPowerValue(curPlayer, PlayerGubao.GubaoPowerType_InvestMonthAwardPer, itemID)
            if not addPer:
                continue
            countEx = int(itemCount * addPer / 100.0)
            if not countEx:
                continue
            exItemList.append([itemID, countEx, gubaoExSign])
        if exItemList:
            rewardItemList += exItemList
    if rewardIndex == 0:
        PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_InvestRewardTime % (investType), int(time.time()))
    GameWorld.DebugLog("更新领奖:investType=%s,rewardItemList=%s" % (investType, rewardItemList))