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/Event/EventSrc/Operate_ItemCompound.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_ItemCompound.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_ItemCompound.py
index d5f2137..bd1d57f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_ItemCompound.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_ItemCompound.py
@@ -578,7 +578,7 @@
     return incRateItemCostList, expireTime
 
 def __CheckItemCanUseCompound(playerID, index, curItem):
-    if not ItemCommon.CheckItemCanUse(curItem):
+    if not ItemCommon.CheckItemCanUse(curItem) or ItemControler.GetIsAuctionItem(curItem):
         GameWorld.DebugLog("该物品不可使用!无法合成! index=%s" % (index), playerID)
         return
     
@@ -710,7 +710,7 @@
         return
     curEquip = itemPack.GetAt(decompoundItemIndex)
     
-    if not ItemCommon.CheckItemCanUse(curEquip):
+    if not ItemCommon.CheckItemCanUse(curEquip) or ItemControler.GetIsAuctionItem(curEquip):
         return
     
     attrCount = curEquip.GetUserAttrCount(ShareDefine.Def_IudetItemDecompound)

--
Gitblit v1.8.0