From af061eb963b3d4c97f3d71424f42f89f4ff3b498 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 08 十月 2018 14:03:28 +0800
Subject: [PATCH] 2091 【主干】【1.0.18】神兽背包满情况下拾取错误导致内存泄露

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipWash.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipWash.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipWash.py
index 23f9e03..dcf14f5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipWash.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipWash.py
@@ -40,7 +40,10 @@
 
 def GetEquipWashMaxLV(curPlayer, equipPlace):
     # @return: 0-未开放; >=1-该装备位最大可洗练等级
-    maxLVDict = IpyGameDataPY.GetFuncEvalCfg("EquipWashMaxLV", 1)
+    washType = GetEquipWashType(equipPlace)
+    if not washType:
+        return 0
+    maxLVDict = IpyGameDataPY.GetFuncEvalCfg("EquipWashGroup%s" % washType, 2)
     if not maxLVDict:
         return 0
     equipPack = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)

--
Gitblit v1.8.0