|  |  | 
 |  |  |         awardPer = awardPerList[-1]
 | 
 |  |  |     else:
 | 
 |  |  |         awardPer = awardPerList[groupID - 1]
 | 
 |  |  |     rankAwardDictCopy = copy.deepcopy(rankAwardDict)
 | 
 |  |  |     for itemList in rankAwardDictCopy.values():
 | 
 |  |  |         for itemInfo in itemList:
 | 
 |  |  |             itemInfo[1] = max(1, int(itemInfo[1] * awardPer / 100.0))
 | 
 |  |  |     rankAwardDictCopy = {}
 | 
 |  |  |     for rank, itemList in rankAwardDict.items():
 | 
 |  |  |         copyItemList = []
 | 
 |  |  |         for itemID, itemCount, isBind, isPer in itemList:
 | 
 |  |  |             if isPer: # 奖励个数是否受百分比影响, 默认受影响
 | 
 |  |  |                 copyItemList.append([itemID, max(1, int(itemCount * awardPer / 100.0)), isBind])
 | 
 |  |  |             else:
 | 
 |  |  |                 copyItemList.append([itemID, itemCount, isBind])
 | 
 |  |  |         rankAwardDictCopy[rank] = copyItemList
 | 
 |  |  |         
 | 
 |  |  |     # 最高级别联赛第一名额外奖励
 | 
 |  |  |     winnerFirstAwardEx = [] # 获胜方第一名额外奖励
 |