From f8746d124f66d507826a274aaaa0b71e0a67446a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 01 十月 2018 17:59:29 +0800
Subject: [PATCH] 1 修复boss没配置复活等级时间时报错问题; 2 修复邮件给非定制装备无传奇属性bug; 3 上线重新刷一次无传奇属性的装备;

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipWash.py |    7 ++++++-
 1 files changed, 6 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 ecb5a2f..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
@@ -26,6 +26,7 @@
 import ItemCommon
 import ChConfig
 import ChEquip
+import EventShell
 
 import random
 
@@ -39,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)
@@ -357,6 +361,7 @@
             washSpecLVIpyData = IpyGameDataPY.GetIpyGameDataNotLog("EquipWashSpec", washType, washLV)
             if washSpecLVIpyData:
                 PlayerControl.WorldNotify(0, "WashMasterCongratulation", [curPlayer.GetPlayerName(), curPlayer.GetPlayerID(), washType, washLV])
+        EventShell.EventRespons_EquipWash(curPlayer, washType, washLV)
         break
     return True
 

--
Gitblit v1.8.0