10033 【后端】仙树升级系统及砍树产出规则(首充装备支持定制属性)
1个文件已修改
9 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
@@ -153,9 +153,12 @@
    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: