From 0f22af9f3a0093e8db2ae2af40d3ea0f745dcd9b Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 13 三月 2019 11:22:38 +0800 Subject: [PATCH] 6332 【后端】【2.0】主要是拍品相关规则调整及背包优化(是否绑定改为是否拍品) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py index db1f752..61b2437 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py @@ -5204,11 +5204,10 @@ #self.__SetItemProtect(curMapItem, dropType, ownerID) return - def __CreateDropItem(self, curNPC, itemID, count, isBind, dropPlayer): + def __CreateDropItem(self, curNPC, itemID, count, isAuctionItem, dropPlayer): ## 创建掉落的物品 - if not isBind and not IpyGameDataPY.GetIpyGameDataNotLog("AuctionItem", itemID): - isBind = 1 - isAuctionItem = not isBind + if isAuctionItem and not IpyGameDataPY.GetIpyGameDataNotLog("AuctionItem", itemID): + isAuctionItem = 0 curItem = ItemControler.GetOutPutItemObj(itemID, count, isAuctionItem, curPlayer=dropPlayer) if not curItem: return -- Gitblit v1.8.0