| | |
| | | else:
|
| | | GameWorld.DebugLog(" investType = %s 已投资过,不可重复投资" % investType)
|
| | | return
|
| | | elif investType in ChConfig.InvestGoldTypeList:
|
| | | goldInvestLVLimit = IpyGameDataPY.GetFuncEvalCfg('GoldInvestLVLimit', 1, {}).get(investType, 0)
|
| | | if goldInvestLVLimit and curPlayer.GetLV() > goldInvestLVLimit:
|
| | | GameWorld.DebugLog(' 仙玉投资理财 等级不能高于%s'%(goldInvestLVLimit))
|
| | | return
|
| | | # elif investType in ChConfig.InvestGoldTypeList:
|
| | | # goldInvestLVLimit = IpyGameDataPY.GetFuncEvalCfg('GoldInvestLVLimit', 1, {}).get(investType, 0)
|
| | | # if goldInvestLVLimit and curPlayer.GetLV() > goldInvestLVLimit:
|
| | | # GameWorld.DebugLog(' 仙玉投资理财 等级不能高于%s'%(goldInvestLVLimit))
|
| | | # return
|
| | |
|
| | | __DoGoldInvest(curPlayer, investType, investGold, deductGold, awardData)
|
| | | return
|