1111 【后端】修复组队报错;修复购买副本次数报错;
| | |
| | | if hasBuyCnt >= canBuyCnt:
|
| | | GameWorld.DebugLog("购买次数已经用完mapID=%s,buyTimesVIPPriID=%s,hasBuyCnt=%s >= canBuyCnt=%s" % (mapID, buyTimesVIPPriID, hasBuyCnt, canBuyCnt))
|
| | | return
|
| | | costGoldDict = IpyGameDataPY.GetFuncEvalCfg('BuyFBCntCost')
|
| | | costGoldDict = IpyGameDataPY.GetFuncEvalCfg('BuyFBCntCost', 1, {})
|
| | | costGold = costGoldDict.get(str(mapID), '0')
|
| | | costGold = eval(costGold)
|
| | | costMoneyTypeInfo = IpyGameDataPY.GetFuncEvalCfg('BuyFBCntCost', 2)
|
| | | costMoneyTypeInfo = IpyGameDataPY.GetFuncEvalCfg('BuyFBCntCost', 2, {})
|
| | | costType = costMoneyTypeInfo.get(str(mapID), ShareDefine.TYPE_Price_Gold_Paper_Money)
|
| | | costMoneyList = PlayerControl.HaveMoneyEx(curPlayer, costType, costGold)
|
| | | #GameWorld.Log('costMoneyList=%s,costGold=%s'%(costMoneyList,costGold))
|
| | |
| | | # 处理队伍人数影响的内容(队伍经验加成、VIPbuff等)
|
| | | for memInfo in curPackData.MemInfoList:
|
| | | memPlayerID = memInfo.PlayerID
|
| | | teamPlayerInfoDict[memPlayerID] = {"MapID":memInfo.MapID, "VIPLV":memInfo.VIPLV, "FamilyID":memInfo.FamilyID}
|
| | | teamPlayerInfoDict[memPlayerID] = {"MapID":memInfo.MapID, "VIPLV":memInfo.VIPLV}
|
| | | #GameWorld.DebugLog(" MemInfo memPlayerID=%s,MapID=%s,VIPLV=%s" % (memPlayerID, memInfo.MapID, memInfo.VIPLV))
|
| | | if mapID != memInfo.MapID:
|
| | | continue
|