From 2d93160c5884c8710076f71b9c2e8824078f169e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 15 十月 2018 17:06:23 +0800
Subject: [PATCH] 11 bug 暴风雪类灵技能SP修复
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py | 5 +++--
1 files changed, 3 insertions(+), 2 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 0154b23..53626ee 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py
@@ -244,6 +244,7 @@
isPutInTemp = curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_PickupItemPutInTemp)
packIndex = ShareDefine.rptTempItem if isPutInTemp else IPY_GameWorld.rptItem
+ packIndex = ChConfig.GetItemPackType(singItem.GetType(), packIndex)
# 是否可放入
if not itemControl.CanPutInItem(packIndex, curItemID, curItemCount, curItemIsBind):
@@ -260,8 +261,8 @@
if not itemControl.PutInItem(packIndex, singItem, event=[ChConfig.ItemGive_Pickup, False, {"NPCID":dropItemNPCID}]):
#物品不能放入
#PlayerControl.NotifyCode(curPlayer, "GeRen_chenxin_676165", [packIndex])
- GameWorld.Log("拾取物品放入背包失败!mapItemID=%s,dropItemNPCID=%s,curItemID=%s,packIndex=%s"
- % (mapItemID, dropItemNPCID, curItemID, packIndex), curPlayer.GetPlayerID())
+ GameWorld.ErrLog("拾取物品放入背包失败!mapItemID=%s,dropItemNPCID=%s,curItemID=%s,packIndex=%s"
+ % (mapItemID, dropItemNPCID, curItemID, packIndex), curPlayer.GetPlayerID())
return
if dropItemNPCID:
--
Gitblit v1.8.0