From 93367a2607db214ec6dda86bd796c1291bc06a49 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 27 三月 2019 15:29:05 +0800
Subject: [PATCH] 3167 【BUG】【2.0】拍卖,消耗了仙玉没获得拍品

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py
index 661519b..2b1a9dc 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py
@@ -70,7 +70,7 @@
         return False
     playerItemControl = ItemControler.PlayerItemControler(curPlayer)
     
-    if curItem.GetIsBind():
+    if ItemControler.GetIsAuctionItem(curItem):
         GameWorld.DebugLog("拍品无法穿戴!")
         return False
     
@@ -400,7 +400,7 @@
     equipIndex = sendPack.GetEquipIndex()
     curEquip = roleEquipPack.GetAt(equipIndex)
     
-    if not ItemCommon.CheckItemCanUse(curEquip):
+    if not ItemCommon.CheckItemCanUse(curEquip) or ItemControler.GetIsAuctionItem(curEquip):
         return
     
     #FB禁止使用物品
@@ -1233,8 +1233,7 @@
     PlayerControl.NomalDictSetProperty(curPlayer, key, activeCnt)
     
     SyncAllEquipAttrActiveInfo(curPlayer, activeType)
-    if activeType == 0:
-        PlayerMagicWeapon.CalcMagicWeaponSoulAttr(curPlayer)
+    
     #注意: 需要传装备阶触发刷属性,暂屏蔽,功能修改时再处理
     #else:
     #    RefreshPlayerEquipAttribute(curPlayer)

--
Gitblit v1.8.0