From 5b819bfc92a8a66ecae16bad1a0b307208747645 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 19 三月 2019 20:02:50 +0800 Subject: [PATCH] 6332 【后端】【2.0】主要是拍品相关规则调整及背包优化(判断是否拍品函数) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py index 7677daa..8ff7e12 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerAuctionHouse.py @@ -42,7 +42,7 @@ curItem = playerPack.GetAt(itemIndex) if curItem.IsEmpty(): return - if not curItem.GetIsBind(): + if not ItemControler.GetIsAuctionItem(curItem): GameWorld.Log("非拍品,绑定无法上架!", playerID) return itemGUID = curItem.GetGUID() @@ -127,7 +127,7 @@ curItem = playerPack.GetAt(itemIndex) if curItem.IsEmpty(): return - if not curItem.GetIsBind(): + if not ItemControler.GetIsAuctionItem(curItem): GameWorld.Log("非拍品,无法上架!", playerID) return curItemGUID = curItem.GetGUID() @@ -184,7 +184,7 @@ if curPlayer and not familyID: ItemCommon.DelItem(curPlayer, curItem, curItem.GetCount()) else: - if not curItem.GetIsBind(): + if not ItemControler.GetIsAuctionItem(curItem): GameWorld.Log("非拍品,绑定无法上架!", playerID) curItem.Clear() continue -- Gitblit v1.8.0