From bf398236af3eefb4587f8138a5d6c916c69838d3 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 20 三月 2019 15:23:29 +0800
Subject: [PATCH] 6382 【后端】【2.0】功能是否绑定及拍品优化调整(拍品限制使用)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py
index 810b06f..fb1f598 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py
@@ -31,6 +31,7 @@
 import PlayerSuccess
 import DataRecordPack
 import PlayerWeekParty
+import ItemControler
 
 import time
 
@@ -112,7 +113,7 @@
     for equipIndex in equipIndexList:
         dogzItemPack = curPlayer.GetItemManager().GetPack(ShareDefine.rptDogzItem)
         curEquip = dogzItemPack.GetAt(equipIndex)
-        if not ItemCommon.CheckItemCanUse(curEquip):
+        if not ItemCommon.CheckItemCanUse(curEquip) or ItemControler.GetIsAuctionItem(curEquip):
             GameWorld.DebugLog("物品为空或不可用: equipIndex=%s" % equipIndex, playerID)
             continue
         if not ItemCommon.GetIsDogzEquip(curEquip):

--
Gitblit v1.8.0