xdh
2019-06-03 8033bb90351256b4f56e49b6416d8dbf0919eb66
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
@@ -120,10 +120,11 @@
    awardData = costList.index(investGold) + 1
    if investType == ChConfig.GoldInvestType_VIP:
        awardData = __GetInvestLVData(curPlayer)
        needVIPLV = IpyGameDataPY.GetFuncCfg('VIPInvest', 2)
        if curPlayer.GetVIPLv() < needVIPLV:
            GameWorld.DebugLog('    投资理财 需要VIP%s'%(needVIPLV))
            return
    needVIPLVDict = IpyGameDataPY.GetFuncEvalCfg('InvestCost', 2, {})
    needVIPLV = needVIPLVDict.get(str(investType), 0)
    if curPlayer.GetVIPLv() < needVIPLV:
        GameWorld.DebugLog('    投资理财 需要VIP%s'%(needVIPLV))
        return
    
        
    deductGold = investGold