10033 【后端】仙树升级系统及砍树产出规则(首充装备支持定制属性)
| | |
| | | GameWorld.DebugLog("领取首充奖励: giftDay=%s,getRecord=%s,updGetRecord=%s, %s" % (giftDay, getRecord, updGetRecord, rewardItemList))
|
| | |
|
| | | # 给物品
|
| | | isAuctionItem = False
|
| | | for itemID, itemCount in rewardItemList: |
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isAuctionItem, [IPY_GameWorld.rptItem])
|
| | | for itemInfo in rewardItemList:
|
| | | itemID, itemCount = itemInfo[:2]
|
| | | isAuctionItem = itemInfo[2] if len(itemInfo) > 2 else 0
|
| | | appointID = itemInfo[3] if len(itemInfo) > 3 else 0
|
| | | setAttrDict = {ShareDefine.Def_CItemKey_AppointID:appointID} if appointID else {}
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isAuctionItem, [IPY_GameWorld.rptItem], setAttrDict=setAttrDict)
|
| | |
|
| | | # 全服提示
|
| | | if len(rewardItemList) >= 2:
|