From a55e88f46a8eea3e95f732b3dd4ddcc34435bcc5 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 13 十月 2018 10:25:37 +0800
Subject: [PATCH] 1 修复个推获取玩家appID调用报错;
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
index d572f68..39200a5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
@@ -1303,6 +1303,9 @@
GameWorld.Log("策划填表错误 %s -> maxPackCount = %s" % (curItemID , maxPackCount))
return False, 0
+ # 特殊处理不同的物品放入不同的背包,如神兽背包
+ packIndex = ChConfig.GetItemPackType(curItemData.GetType(), packIndex)
+
maxCanPutItem = 0
curPlayer = self.__Player
# 虚拟背包
--
Gitblit v1.8.0