From 27c520cac266513887f348cf9feb4be7b3efda45 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 10 五月 2021 12:17:51 +0800 Subject: [PATCH] 8932 【BT2】【主干】【后端】物品转移背包类型后,支持上线刷新 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py index 9e32e8f..26b7c0a 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/FunctionNPCCommon.py @@ -631,7 +631,7 @@ if not curItem: GameWorld.ErrLog("Store shop item error! shopType=%s,itemID=%s" % (shopType, itemID)) return - packType = ChConfig.GetItemPackType(curItem.GetType()) + packType = ChConfig.GetItemPackType(curItem) needSpace = ItemControler.GetItemNeedPackCount(packType, curItem, itemCnt) needPackSpaceDict[packType] = needPackSpaceDict.get(packType, 0) + needSpace @@ -714,7 +714,7 @@ continue userData = curItemObj.GetUserData() if not sendMailKey: - packType = ChConfig.GetItemPackType(curItemObj.GetType()) + packType = ChConfig.GetItemPackType(curItemObj) if not itemControl.PutInItem(packType, curItemObj, event=[ChConfig.ItemGive_BuyItem, isForceEvent, dataDict]): curItemObj.Clear() continue -- Gitblit v1.8.0