From 5ad2bd52bfbdf91a93ecf3a6c98c5e578edabb2b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 26 三月 2019 17:18:50 +0800
Subject: [PATCH] 6373 【后端】【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