| | |
| | | auctionItemList, itemList = __GetHorsePetBossAward(lineID, rank, worldLV)
|
| | | else:
|
| | | auctionItemList, itemList = [], []
|
| | | GameWorld.Log('auctionItemList=%s,itemList=%s'%(auctionItemList, itemList))
|
| | | GameWorld.Log('auctionItemList=%s,itemList=%s, rank=%s'%(auctionItemList, itemList, rank), playerID)
|
| | | giveItemList = auctionItemList+itemList
|
| | | player = playerManager.FindPlayerByID(playerID)
|
| | | if player:
|
| | |
| | | else:
|
| | | itemList.append(itemInfo)
|
| | |
|
| | | for doCnt, awardPieRateList in awardPieRateDict.items():
|
| | | for _ in xrange(doCnt):
|
| | | resultItem = GameWorld.GetResultByRandomList(awardPieRateList)
|
| | | if len(resultItem) != 3:
|
| | | GameWorld.ErrLog('骑宠Boss奖励表配置错误 itemInfo=%s' % resultItem)
|
| | | continue
|
| | | if not resultItem[0]:
|
| | | continue
|
| | | if resultItem[2]:
|
| | | auctionItemList.append(resultItem)
|
| | | else:
|
| | | itemList.append(resultItem)
|
| | | for awardPieRateList in awardPieRateDict:
|
| | | resultItem = GameWorld.GetResultByRandomList(awardPieRateList)
|
| | | if len(resultItem) != 3:
|
| | | GameWorld.ErrLog('骑宠Boss奖励表配置错误 itemInfo=%s' % resultItem)
|
| | | continue
|
| | | if not resultItem[0]:
|
| | | continue
|
| | | if resultItem[2]:
|
| | | auctionItemList.append(resultItem)
|
| | | else:
|
| | | itemList.append(resultItem)
|
| | | return auctionItemList, itemList
|
| | |
|
| | |
|