6332 【后端】【2.0】主要是拍品相关规则调整及背包优化(GetOutPutItemObj 默认都给非拍品)
7个文件已修改
18 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_ItemCompound.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_Chests.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py
@@ -732,7 +732,7 @@
    itemControl = ItemControler.PlayerItemControler(curPlayer)
    for itemID, itemCount, isBind in totalItemList:
        curItemObj = ItemControler.GetOutPutItemObj(itemID, itemCount, isBind)
        curItemObj = ItemControler.GetOutPutItemObj(itemID, itemCount, False)
        if not curItemObj:
            continue
        userData = curItemObj.GetUserData()
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_ItemCompound.py
@@ -615,7 +615,7 @@
def __GivePlayerCompoundItem(curPlayer, packType, newItemID, itemCount, isBind, wingItemExpInfo, dogzEquipPlusExp, decompoundItemInfo, expireTime):
    playerID = curPlayer.GetPlayerID()
    curSingleItem = ItemControler.GetOutPutItemObj(newItemID, itemCount, isBind, expireTime)
    curSingleItem = ItemControler.GetOutPutItemObj(newItemID, itemCount, False, expireTime)
    if not curSingleItem:
        GameWorld.ErrLog("创造物品失败, give item itemid:%s,count:%s" % (newItemID, itemCount), playerID)
        return
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_Chests.py
@@ -91,7 +91,7 @@
    # 给奖励
    syncItemList = []
    for itemID, itemCount in jobAwardItemList:
        curItem = ItemControler.GetOutPutItemObj(itemID, itemCount, isBind)
        curItem = ItemControler.GetOutPutItemObj(itemID, itemCount, False)
        if not curItem:
            GameWorld.ErrLog("宝箱创建奖励物品异常!chestsItemID=%s,useCnt=%s,itemID=%s,itemCount=%s,isBind=%s" 
                             % (chestsItemID, useCnt, itemID, itemCount, isBind), curPlayer.GetPlayerID())
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -495,7 +495,7 @@
        
        if ItemCommon.GetIsEquip(itemData):
            for _ in xrange(itemCount):
                curItem = ItemControler.GetOutPutItemObj(itemID, isBind=isBind)
                curItem = ItemControler.GetOutPutItemObj(itemID)
                if curItem:
                    needSpace += 1
                    prizeItemList.append(curItem)
@@ -541,7 +541,7 @@
            index += 1
            if isinstance(curItem, list):
                itemID, itemCount, isBind = curItem
                curItem = ItemControler.GetOutPutItemObj(itemID, itemCount, isBind)
                curItem = ItemControler.GetOutPutItemObj(itemID, itemCount, False)
                
            if not curItem:
                continue
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
@@ -519,7 +519,7 @@
                GameWorld.Log('    试用首充武器 卸下原装备失败!!', curPlayer.GetID())
                return
            
    tryItem = ItemControler.GetOutPutItemObj(tryItemID, 1, 1)
    tryItem = ItemControler.GetOutPutItemObj(tryItemID)
    if ChEquip.DoPlayerEquipItem(curPlayer, tryItem, ItemCommon.GetEquipPackIndex(tryItem), tick):
        PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FirstGoldTry, 2)
    else:
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py
@@ -503,7 +503,7 @@
        ## 装备一件件给
        if ItemCommon.GetIsEquip(curItemData):
            for _ in xrange(dropCount):
                curItem = ItemControler.GetOutPutItemObj(itemID, 1, isDropBind)
                curItem = ItemControler.GetOutPutItemObj(itemID, 1, False)
                if not curItem:
                    continue
                if not itemControl.PutInItem(IPY_GameWorld.rptItem, curItem, event=[ChConfig.ItemGive_TJGDropItem, False, {}]):
@@ -512,7 +512,7 @@
                #记录紫橙装数量用于通知
                NoteEquip(curPlayer, curItemData.GetItemColor())
        else:
            curItem = ItemControler.GetOutPutItemObj(itemID, dropCount, isDropBind)
            curItem = ItemControler.GetOutPutItemObj(itemID, dropCount, False)
            if not curItem:
                continue
            
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py
@@ -337,7 +337,7 @@
    mailItemList = []
    itemControl = ItemControler.PlayerItemControler(curPlayer)
    for gridNum, itemID, itemCount, isBind in treasureResult:
        itemObj = ItemControler.GetOutPutItemObj(itemID, itemCount, isBind)
        itemObj = ItemControler.GetOutPutItemObj(itemID, itemCount, False)
        mailItemDict = ItemCommon.GetMailItemDict(itemObj)
        
        if int(gridNum) in goodGridNumList: