From a4cc5ca09eb2b1ccbb40d7db4b45ded8195d0a98 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 27 十一月 2019 16:19:16 +0800
Subject: [PATCH] 8346 【恺英】【后端】协助系统(协助表修改)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipWash.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 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 87d2866..9ebc49c 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
@@ -102,6 +102,13 @@
         return
     equipPlace = ipyData.GetEquipPlace()
     classLV = ipyData.GetClassLV()
+    funcPlusMinClassInfo = IpyGameDataPY.GetFuncEvalCfg("EquipPlusByFuncID", 1, {})
+    funcID = ShareDefine.GameFuncID_EquipWash
+    if str(funcID) in funcPlusMinClassInfo:
+        funcMinClassLV = funcPlusMinClassInfo[str(funcID)]
+        if classLV < funcMinClassLV:
+            GameWorld.Log("该装备阶无法洗练! classLV=%s < funcMinClassLV=%s" % (classLV, funcMinClassLV), playerID)
+            return
     washType = GetEquipWashType(equipPlace)
     if washType is None:
         GameWorld.Log("该装备位无法洗练! equipPlace=%s" % (equipPlace), playerID)

--
Gitblit v1.8.0