hch
2019-07-26 31c49247fe0656416cf5cfc4f5b290d40b919d15
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py
@@ -470,7 +470,8 @@
    dropRet = NPCCommon.GetNPCDropInfoTJG(curPlayer, curPlayer.GetMapID(), npcID, killCnt)
    if dropRet:
        dropIDCountDict, auctionIDList, money = dropRet
    # 1. 出售为铜钱 2.放入背包 3.满则不继续给物品
    # 1. 装备只能分解 2.放入背包 3.满则不继续给物品
    for itemID, dropCount in dropIDCountDict.items():
        if not ItemCommon.CheckPackHasSpace(curPlayer, IPY_GameWorld.rptItem):
            break
@@ -483,10 +484,12 @@
        itemControl = ItemControler.PlayerItemControler(curPlayer)
        
        ## 装备物品 白蓝直接换算铜钱
        if curItemData.GetType() in ChConfig.Def_EquipItemType_TJGAutoEat:
            if curItemData.GetItemColor() in [ShareDefine.Def_Item_Color_White, ShareDefine.Def_Item_Color_Blue]:
                money += curItemData.GetSilverPrice() * dropCount
                continue
        #=======================================================================
        # if curItemData.GetType() in ChConfig.Def_EquipItemType_TJGAutoEat:
        #    if curItemData.GetItemColor() in [ShareDefine.Def_Item_Color_White, ShareDefine.Def_Item_Color_Blue]:
        #        money += curItemData.GetSilverPrice() * dropCount
        #        continue
        #=======================================================================
            
        ## 装备一件件给
        if ItemCommon.GetIsEquip(curItemData):
@@ -542,13 +545,13 @@
            continue
        
        ## 低评分紫装或非本职业
        if curItem.GetItemColor() != ShareDefine.Def_Item_Color_Purple:
        if curItem.GetItemColor() > ShareDefine.Def_Item_Color_Purple:
            continue
        
        if curItem.GetType() not in ChConfig.Def_EquipItemType_TJGAutoEat:
            continue
        
        # 被职业需要判断评分高低
        # 本职业需要判断评分高低
        if ItemCommon.CheckJob(curPlayer, curItem):
            if curItem.GetType() not in equipScores:
                # 没有评分说明装备位还是空的 不能吞噬