From 45ef06fd2848865772e0943cb5717d349035058e Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期一, 21 一月 2019 17:25:06 +0800
Subject: [PATCH] 5920 【前端】【1.5.100】诛仙塔功能开发

---
 System/MainInterfacePanel/MainInterfaceWin.cs |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/System/MainInterfacePanel/MainInterfaceWin.cs b/System/MainInterfacePanel/MainInterfaceWin.cs
index 7fbaa04..6a81525 100644
--- a/System/MainInterfacePanel/MainInterfaceWin.cs
+++ b/System/MainInterfacePanel/MainInterfaceWin.cs
@@ -147,6 +147,7 @@
         DungeonAssistModel assistModel { get { return ModelCenter.Instance.GetModel<DungeonAssistModel>(); } }
         IceCrystalVeinModel m_IceCrystalVeinModel;
         IceCrystalVeinModel iceCrystalVeinModel { get { return m_IceCrystalVeinModel ?? (m_IceCrystalVeinModel = ModelCenter.Instance.GetModel<IceCrystalVeinModel>()); } }
+        JadeDynastyTowerModel jadeDynastyTowerModel { get { return ModelCenter.Instance.GetModel<JadeDynastyTowerModel>();  } }
         #region Built-in
         private bool IsUpdateBool=true;
         protected override void BindController()
@@ -671,6 +672,18 @@
                     }
                 }
             }
+
+            if (jadeDynastyTowerModel.specialUnLockFloor > 0 && !IsDungeon())
+            {
+                if (!WindowCenter.Instance.IsOpen("NewBieWin") && !WindowCenter.Instance.IsOpen("TreasureNewGotWin"))
+                {
+                    if (!WindowCenter.Instance.IsOpen("JadeDynastyTowerUnLockWin"))
+                    {
+                        WindowCenter.Instance.Open<JadeDynastyTowerUnLockWin>();
+                    }
+                }
+            }
+
             if (iceCrystalVeinModel.IsIceCrystalVeinCopy && !IsDungeon())//鏄惁鍐嶆鎵撳紑鍐版櫠鐭胯剦闈㈡澘
             {
                 if (!WindowCenter.Instance.IsOpen("NewBieWin") && !WindowCenter.Instance.IsOpen("TreasureNewGotWin"))

--
Gitblit v1.8.0