From 09daae185e5a4005076419f98d896f991e39335e Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 11 三月 2019 21:30:51 +0800 Subject: [PATCH] 6332 【后端】【2.0】主要是拍品相关规则调整及背包优化(邮件拍品处理,拍品奖励配置格式优化) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py index af044ed..8288db0 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py @@ -1532,7 +1532,7 @@ # 使用拍品 if not curItem.GetIsBind(): - __DoLogic_PlayerUseAuctionItem(curPlayer, curItem, itemIndex, exData) + DoLogic_PlayerUseAuctionItem(curPlayer, curItem) return if useCnt <= 0: @@ -1543,13 +1543,14 @@ return -def __DoLogic_PlayerUseAuctionItem(curPlayer, curItem, itemIndex, exData): +def DoLogic_PlayerUseAuctionItem(curPlayer, curItem): ## 玩家使用拍品 playerID = curPlayer.GetPlayerID() itemID = curItem.GetItemTypeID() curItem.SetIsBind(1) # 设置为非拍品 - GameWorld.DebugLog("玩家使用拍品: itemIndex=%s,itemID=%s,exData=%s" % (itemID, itemIndex, exData), playerID) + curItem.ClearUserAttr(ShareDefine.Def_IudetAuctionItemCreateTime) + GameWorld.DebugLog("玩家使用拍品: itemID=%s" % (itemID), playerID) if ItemCommon.GetIsEquip(curItem): # 生成传奇属性 -- Gitblit v1.8.0