From 6e32566c29b54902b372a7fa9ed50df5edbcd1c9 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期一, 11 三月 2019 20:08:43 +0800
Subject: [PATCH] 3335 装备洗练功能开发。

---
 Core/GameEngine/Model/TelPartialConfig/PartialWashLevelMaxConfig.cs |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/Core/GameEngine/Model/TelPartialConfig/PartialWashLevelMaxConfig.cs b/Core/GameEngine/Model/TelPartialConfig/PartialWashLevelMaxConfig.cs
index 550d3bd..0102678 100644
--- a/Core/GameEngine/Model/TelPartialConfig/PartialWashLevelMaxConfig.cs
+++ b/Core/GameEngine/Model/TelPartialConfig/PartialWashLevelMaxConfig.cs
@@ -18,4 +18,18 @@
         return washLevelMaxConfigs.ContainsKey(key) ? washLevelMaxConfigs[key] : null;
     }
 
+    public static int GetMaxLevel( int type)
+    {
+        var max = 0;
+        foreach ( var config in washLevelMaxConfigs.Values)
+        {
+            if ( config .equipType==type && config .levelMax >max)
+            {
+                max = config.levelMax;
+            }
+        }
+
+        return max;
+    }
+
 }

--
Gitblit v1.8.0