From 052bb69a8b50948052165847ea44312b8d4f6607 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期四, 20 九月 2018 16:13:14 +0800
Subject: [PATCH] Merge branch 'master' into 1871天赋功能

---
 System/Compose/New/ComposeWinModel.cs |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/System/Compose/New/ComposeWinModel.cs b/System/Compose/New/ComposeWinModel.cs
index b2c91e6..42607a1 100644
--- a/System/Compose/New/ComposeWinModel.cs
+++ b/System/Compose/New/ComposeWinModel.cs
@@ -854,6 +854,20 @@
         }
     }
 
+    public bool CheckIsComposeByType(int firstType,int secondType,int thirdType)
+    {
+        ItemCompoundConfig itemCompound = GetThirdTypeModellist(firstType,secondType,thirdType)[0];
+        if (itemCompound.levelNeed <= PlayerDatas.Instance.baseData.LV)
+        {
+            return true;
+        }
+        else
+        {
+            SysNotifyMgr.Instance.ShowTip("TicketComposeUnlock", itemCompound.levelNeed, itemCompound.secondTypeName);
+            return false;
+        }
+    }
+
     public int secondType { get; private set; }
     public int thirdType { get; private set;}
     public void SetJumpToModel(ComposeFuncType type,int secondType,int thirdType)

--
Gitblit v1.8.0