| | |
| | | % (crossServerDateTime, unLimitHour, unLimitMinute))
|
| | | else:
|
| | | hadBuyCount = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_LuckyCloudBuy_BuyCount)
|
| | | curGMLV = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_BTGMLV)
|
| | | vipLV = curPlayer.GetVIPLv()
|
| | | gmLVLimitBuyCountList = IpyGameDataPY.GetFuncEvalCfg("LuckyCloudBuyCost", 2)
|
| | | maxBuyCount = gmLVLimitBuyCountList[curGMLV] if len(gmLVLimitBuyCountList) > curGMLV else gmLVLimitBuyCountList[-1]
|
| | | maxBuyCount = gmLVLimitBuyCountList[vipLV] if len(gmLVLimitBuyCountList) > vipLV else gmLVLimitBuyCountList[-1]
|
| | | if hadBuyCount + buyCount > maxBuyCount:
|
| | | GameWorld.DebugLog("幸运云购购买次数限制! hadBuyCount=%s,buyCount=%s,curGMLV=%s,maxBuyCount=%s,crossServerDateTime=%s" |
| | | % (hadBuyCount, buyCount, curGMLV, maxBuyCount, crossServerDateTime))
|
| | | GameWorld.DebugLog("幸运云购购买次数限制! hadBuyCount=%s,buyCount=%s,vipLV=%s,maxBuyCount=%s,crossServerDateTime=%s" |
| | | % (hadBuyCount, buyCount, vipLV, maxBuyCount, crossServerDateTime))
|
| | | return
|
| | |
|
| | | buyCountCostMoneyDict = IpyGameDataPY.GetFuncEvalCfg("LuckyCloudBuyCost", 1, {})
|