| | |
| | | ipyData = GetFBIpyData(mapID)
|
| | | if not ipyData:
|
| | | return
|
| | | canBuyCnt = 0
|
| | | buyTimesVIPPriID = ipyData.GetBuyTimesVIPPriID()
|
| | | if not buyTimesVIPPriID:
|
| | | if buyTimesVIPPriID:
|
| | | canBuyCnt += PlayerVip.GetPrivilegeValue(curPlayer, buyTimesVIPPriID)
|
| | | canBuyCnt += PlayerGoldInvest.GetAddFBBuyCnt(curPlayer, mapID)
|
| | | GameWorld.DebugLog("购买副本进入次数: mapID=%s,canBuyCnt=%s" % (mapID, canBuyCnt))
|
| | | if canBuyCnt <= 0:
|
| | | GameWorld.DebugLog("mapID:%s 不可以购买进入次数"%mapID)
|
| | | return
|
| | | canBuyCnt = PlayerVip.GetPrivilegeValue(curPlayer, buyTimesVIPPriID)
|
| | |
|
| | | hasBuyCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_BuyFbCntDay % mapID)
|
| | | maxDayTimes = ipyData.GetDayTimes()
|