| | |
| | | gubaoPowerType = exItemGubaoPowerDict[investType]
|
| | | # 古宝月卡奖励双倍特权
|
| | | exItemList = []
|
| | | gubaoExSign = 10 # 标记古宝额外奖励
|
| | | isBind = ItemControler.GetIsBindValue(srcSign=ChConfig.ItemSrcSign_GubaoEff)
|
| | | for itemInfo in rewardItemList:
|
| | | itemID, itemCount = itemInfo[:2]
|
| | | addPer = PlayerGubao.GetGubaoPowerValue(curPlayer, gubaoPowerType, itemID)
|
| | |
| | | countEx = int(itemCount * addPer / 100.0)
|
| | | if not countEx:
|
| | | continue
|
| | | exItemList.append([itemID, countEx, gubaoExSign])
|
| | | exItemList.append([itemID, countEx, isBind])
|
| | | if exItemList:
|
| | | rewardItemList += exItemList
|
| | |
|