From 17c684a98dd8811fd22ced8da1590e08d3bc4831 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期日, 28 四月 2019 10:32:26 +0800
Subject: [PATCH] Merge branch 'master' into ViewOtherPlayer

---
 System/MainInterfacePanel/FunctionForecastWin.cs |   20 +-------------------
 1 files changed, 1 insertions(+), 19 deletions(-)

diff --git a/System/MainInterfacePanel/FunctionForecastWin.cs b/System/MainInterfacePanel/FunctionForecastWin.cs
index 631abe4..f4a2d5b 100644
--- a/System/MainInterfacePanel/FunctionForecastWin.cs
+++ b/System/MainInterfacePanel/FunctionForecastWin.cs
@@ -58,25 +58,7 @@
             FunctionImage.SetSprite(functionForcecastConfig.FuncIconKey);
             IconText.text = functionForcecastConfig.FuncName;
             ContentText.text = functionForcecastConfig.DetailDescribe;
-            if (openLvConfig.LimitMagicWeapon != 0 || openLvConfig.LimitMissionID != 0)
-            {
-                if (openLvConfig.LimitMagicWeapon != 0)
-                {
-                    int faBaoID = openLvConfig.LimitMagicWeapon / 100;
-                    TreasureConfig treasure = TreasureConfig.Get(faBaoID);
-                    ContentText1.text = string.Format(Language.Get("FuncFBOpen"), treasure.Name);
-                    return;
-                }
-                if (openLvConfig.LimitMissionID != 0)
-                {
-                    ContentText1.text = string.Format(Language.Get("TaskFuncOpen"), openLvConfig.LimitLV);
-                    return;
-                }
-            }
-            else
-            {
-                ContentText1.text = string.Format(Language.Get("FuncLevelOpen"), openLvConfig.LimitLV);
-            }
+            ContentText1.text = functionForcecastConfig.OpenDescribe;
         }
 
         protected override void OnPreClose()

--
Gitblit v1.8.0