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/Item/ItemControler.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py index 96fd006..d9ea722 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py @@ -113,7 +113,7 @@ for i in range(0, curPack.GetCount()): item = curPack.GetAt(i) - if not ItemCommon.CheckItemCanUse(item): + if not ItemCommon.CheckItemCanUse(item) or GetIsAuctionItem(item): continue if item.GetItemTypeID() == id: @@ -133,7 +133,7 @@ for i in range(0, curPack.GetCount()): item = curPack.GetAt(i) - if not ItemCommon.CheckItemCanUse(item): + if not ItemCommon.CheckItemCanUse(item) or GetIsAuctionItem(item): continue if item.GetItemTypeID() == id: @@ -152,7 +152,7 @@ for i in range(0, curPack.GetCount()): item = curPack.GetAt(i) - if not ItemCommon.CheckItemCanUse(item): + if not ItemCommon.CheckItemCanUse(item) or GetIsAuctionItem(item): continue effect = item.GetEffectByIndex(0) @@ -273,7 +273,7 @@ for i in range(0, curPack.GetCount()): item = curPack.GetAt(i) - if not ItemCommon.CheckItemCanUse(item): + if not ItemCommon.CheckItemCanUse(item) or GetIsAuctionItem(item): continue if item.GetItemTypeID() != id: -- Gitblit v1.8.0