From b9fddcec108f82d12262d196bd875faebb2aaa9a Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期四, 13 九月 2018 16:35:04 +0800
Subject: [PATCH] 3488 【前端】【1.0.15】【1.1.0】功能预告优化

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

diff --git a/System/MainInterfacePanel/FeatureNoticeModel.cs b/System/MainInterfacePanel/FeatureNoticeModel.cs
index 494cf4c..5131313 100644
--- a/System/MainInterfacePanel/FeatureNoticeModel.cs
+++ b/System/MainInterfacePanel/FeatureNoticeModel.cs
@@ -167,7 +167,25 @@
     private void MagicWeapon(int fabaoID,int funcID)
     {
         var functionForecastConfig = Config.Instance.Get<FunctionForecastConfig>(funcID);
-        Treasure treasure;
+        if (functionForecastConfig.RedPointLV >0)//鏍规嵁濉殑绛夌骇鏉�
+        {
+            if (PlayerDatas.Instance.baseData.LV >= functionForecastConfig.RedPointLV)
+            {
+                RedPointChange = true;
+                IsRedPoint = true;
+            }
+            if (IsRedPoint)
+            {
+                redPointStre1.state = RedPointState.Simple;
+            }
+            else
+            {
+                redPointStre1.state = RedPointState.None;
+            }
+            return;
+        }
+        Treasure treasure;//鏍规嵁瑙i攣娉曞疂鐨勭櫨鍒嗘瘮
+
         if (treasureModel.TryGetTreasure(fabaoID, out treasure)
               && treasure.state == TreasureState.Collected)
         {

--
Gitblit v1.8.0