From 48c1c31df653930a80ea38f5cd142a863c4d2b03 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期二, 12 三月 2019 14:57:12 +0800
Subject: [PATCH] 3335 强化功能

---
 System/Strengthening/StrengtheningSripts.cs                    |   38 +++---
 System/EquipGem/EquipStrengthRein.cs                           |   20 +++
 Core/GameEngine/Model/Config/ItemPlusMaxConfig.cs              |   25 +--
 Core/GameEngine/Model/TelPartialConfig/tagItemPlusMaxConfig.cs |   15 --
 System/EquipGem/EquipStrengthFull.cs.meta                      |   12 ++
 System/EquipGem/EquipStrengthUpper.cs                          |   20 +++
 System/EquipGem/EquipStrengthUpper.cs.meta                     |   12 ++
 Core/GameEngine/Model/Config/ItemPlusMaxConfig.cs.meta         |    2 
 System/EquipGem/EquipStrengthRein.cs.meta                      |   12 ++
 System/Strengthening/StrengthenModel.cs                        |   18 +-
 System/EquipGem/EquipStrengthFull.cs                           |   20 +++
 System/EquipGem/EquipStrengthWin.cs                            |   62 ++++++++++
 System/EquipGem/EquipStrengthModel.cs                          |   48 +++++++
 13 files changed, 245 insertions(+), 59 deletions(-)

diff --git a/Core/GameEngine/Model/Config/ItemPlusMaxConfig.cs b/Core/GameEngine/Model/Config/ItemPlusMaxConfig.cs
index 7d8b7fa..82c153c 100644
--- a/Core/GameEngine/Model/Config/ItemPlusMaxConfig.cs
+++ b/Core/GameEngine/Model/Config/ItemPlusMaxConfig.cs
@@ -1,6 +1,6 @@
 锘�//--------------------------------------------------------
 //    [Author]:           Fish
-//    [  Date ]:           Thursday, February 14, 2019
+//    [  Date ]:           Tuesday, March 12, 2019
 //--------------------------------------------------------
 
 using System.Collections.Generic;
@@ -13,10 +13,9 @@
 public partial class ItemPlusMaxConfig
 {
 
-    public readonly int id;
-	public readonly int EquipType;
-	public readonly int equipPhase;
-	public readonly int equipColor;
+    public readonly int id;
+	public readonly int EquipType;
+	public readonly int equipStar;
 	public readonly int levelMax;
 
 	public ItemPlusMaxConfig()
@@ -29,15 +28,13 @@
         {
             var tables = input.Split('\t');
 
-            int.TryParse(tables[0],out id); 
-
-			int.TryParse(tables[1],out EquipType); 
-
-			int.TryParse(tables[2],out equipPhase); 
-
-			int.TryParse(tables[3],out equipColor); 
-
-			int.TryParse(tables[4],out levelMax); 
+            int.TryParse(tables[0],out id); 
+
+			int.TryParse(tables[1],out EquipType); 
+
+			int.TryParse(tables[2],out equipStar); 
+
+			int.TryParse(tables[3],out levelMax); 
         }
         catch (Exception ex)
         {
diff --git a/Core/GameEngine/Model/Config/ItemPlusMaxConfig.cs.meta b/Core/GameEngine/Model/Config/ItemPlusMaxConfig.cs.meta
index fade244..5e05742 100644
--- a/Core/GameEngine/Model/Config/ItemPlusMaxConfig.cs.meta
+++ b/Core/GameEngine/Model/Config/ItemPlusMaxConfig.cs.meta
@@ -1,6 +1,6 @@
 fileFormatVersion: 2
 guid: 709eceec8717fff4c8f2d12d19aa7f7c
-timeCreated: 1550121833
+timeCreated: 1552371037
 licenseType: Pro
 MonoImporter:
   serializedVersion: 2
diff --git a/Core/GameEngine/Model/TelPartialConfig/tagItemPlusMaxConfig.cs b/Core/GameEngine/Model/TelPartialConfig/tagItemPlusMaxConfig.cs
index 7ded4ba..3f76c10 100644
--- a/Core/GameEngine/Model/TelPartialConfig/tagItemPlusMaxConfig.cs
+++ b/Core/GameEngine/Model/TelPartialConfig/tagItemPlusMaxConfig.cs
@@ -10,22 +10,13 @@
 
     public void OnConfigParseCompleted()
     {
-        t_ItemPM.Add(StringUtility.Contact(EquipType, equipPhase, equipColor).ToString(), this);
-
-        if (!m_ItemPlusMaxLvDict.ContainsKey(EquipType))
-        {
-            m_ItemPlusMaxLvDict.Add(EquipType, equipPhase);
-        }
-        else if (equipPhase > m_ItemPlusMaxLvDict[EquipType])
-        {
-            m_ItemPlusMaxLvDict[EquipType] = equipPhase;
-        }
+        t_ItemPM.Add(StringUtility.Contact(EquipType, equipStar).ToString(), this);
     }
 
-    public static ItemPlusMaxConfig GetEquipTypeAndPhaseColor(int _equipType, int _equipPhase, int _equipColor)//鑾峰彇寮哄寲涓婇檺鐨勭被鍨嬶紝闃舵暟鍜岃澶囬鑹�
+    public static ItemPlusMaxConfig GetEquipTypeAndEquipStar(int equipType, int equipStar)//鑾峰彇寮哄寲绫诲瀷锛岃澶囨槦鏁�
     {
         ItemPlusMaxConfig itemPMax = null;
-        t_ItemPM.TryGetValue(StringUtility.Contact(_equipType, _equipPhase, _equipColor).ToString(), out itemPMax);
+        t_ItemPM.TryGetValue(StringUtility.Contact(equipType, equipStar).ToString(), out itemPMax);
         return itemPMax;
     }
 
diff --git a/System/EquipGem/EquipStrengthFull.cs b/System/EquipGem/EquipStrengthFull.cs
new file mode 100644
index 0000000..6ae7b34
--- /dev/null
+++ b/System/EquipGem/EquipStrengthFull.cs
@@ -0,0 +1,20 @@
+锘�//--------------------------------------------------------
+//    [Author]:           绗簩涓栫晫
+//    [  Date ]:           Tuesday, March 12, 2019
+//--------------------------------------------------------
+using UnityEngine;
+using System.Collections;
+using UnityEngine.UI;
+
+namespace Snxxz.UI {
+
+    public class EquipStrengthFull:MonoBehaviour {
+
+
+
+    }
+
+}
+
+
+
diff --git a/System/EquipGem/EquipStrengthFull.cs.meta b/System/EquipGem/EquipStrengthFull.cs.meta
new file mode 100644
index 0000000..251cbf0
--- /dev/null
+++ b/System/EquipGem/EquipStrengthFull.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: f3fe1c9e8a1842a45a9ba5a42109aaf9
+timeCreated: 1552361552
+licenseType: Pro
+MonoImporter:
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 
diff --git a/System/EquipGem/EquipStrengthModel.cs b/System/EquipGem/EquipStrengthModel.cs
index 4c498b8..de85b3e 100644
--- a/System/EquipGem/EquipStrengthModel.cs
+++ b/System/EquipGem/EquipStrengthModel.cs
@@ -19,7 +19,9 @@
 }
 public class EquipStrengthModel : Model, IBeforePlayerDataInitialize, IPlayerLoginOk
 {
-    Dictionary<int, EquipStrengthClass> EquipStrengthDic = new Dictionary<int, EquipStrengthClass>();
+    public  Dictionary<int, EquipStrengthClass> EquipStrengthDic = new Dictionary<int, EquipStrengthClass>();//寮哄寲鏁版嵁
+    public  Dictionary<int, int> EquipLevelMaxDic = new Dictionary<int, int>();//寮哄寲绫诲瀷鐨勬渶澶х瓑绾т笂闄�
+    public  Dictionary<int, int> PartTypeDic = new Dictionary<int, int>();//寮哄寲鐨勯儴浣嶇被鍨�
     public event Action EquipStrengthUpdate;//寮哄寲鏁版嵁鍒锋柊
     public event Action SelectEquipRefresh;//浜岀骇椤电鍒锋柊
     public event Action SelectLevelRefresh;//涓�绾ч〉绛惧埛鏂�
@@ -58,7 +60,9 @@
     }
     public override void Init()
     {
-
+        var strengthenLevelLimit = FuncConfigConfig.Get("StrengthenLevelLimit").Numerical1;
+        PartTypeDic = ConfigParse.GetDic<int, int>(strengthenLevelLimit);
+        GetEquipLevelMax();
     }
 
     public void OnBeforePlayerDataInitialize()
@@ -101,6 +105,46 @@
             EquipStrengthUpdate();
         }
     }
+
+    private void GetEquipLevelMax()
+    {
+        var itemPlusMax = ItemPlusMaxConfig.GetValues();
+        foreach (var value in itemPlusMax)
+        {
+            if (EquipLevelMaxDic.ContainsKey(value.EquipType))
+            {
+                var lv = EquipLevelMaxDic[value.EquipType];
+                if (value.levelMax > lv)
+                {
+                    EquipLevelMaxDic[value.EquipType] = value.levelMax;
+                }
+            }
+            else
+            {
+                EquipLevelMaxDic.Add(value.EquipType, value.levelMax);
+            }
+        }
+    }
+
+    public int GetEquipStrengthType(int equipPlace)//鑾峰彇瑁呭绫诲瀷
+    {
+        int type = 1;
+        if (PartTypeDic.ContainsKey(equipPlace))
+        {
+            type = PartTypeDic[equipPlace];
+        }
+        return type;
+    }
+
+    public int GetEquipLevelMax(int type)//鑾峰彇鏌愪竴绫诲瀷鐨勬渶澶у己鍖栫瓑绾�
+    {
+        int lv = 0;
+        if (EquipLevelMaxDic.ContainsKey(type))
+        {
+            lv = EquipLevelMaxDic[type];
+        }
+        return lv;
+    }
 }
 
 
diff --git a/System/EquipGem/EquipStrengthRein.cs b/System/EquipGem/EquipStrengthRein.cs
new file mode 100644
index 0000000..ccc9825
--- /dev/null
+++ b/System/EquipGem/EquipStrengthRein.cs
@@ -0,0 +1,20 @@
+锘�//--------------------------------------------------------
+//    [Author]:           绗簩涓栫晫
+//    [  Date ]:           Tuesday, March 12, 2019
+//--------------------------------------------------------
+using UnityEngine;
+using System.Collections;
+using UnityEngine.UI;
+
+namespace Snxxz.UI {
+
+    public class EquipStrengthRein:MonoBehaviour {
+
+
+
+    }
+
+}
+
+
+
diff --git a/System/EquipGem/EquipStrengthRein.cs.meta b/System/EquipGem/EquipStrengthRein.cs.meta
new file mode 100644
index 0000000..340665e
--- /dev/null
+++ b/System/EquipGem/EquipStrengthRein.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 47cefd6066776454b8dd49ab23e93029
+timeCreated: 1552361612
+licenseType: Pro
+MonoImporter:
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 
diff --git a/System/EquipGem/EquipStrengthUpper.cs b/System/EquipGem/EquipStrengthUpper.cs
new file mode 100644
index 0000000..8685faa
--- /dev/null
+++ b/System/EquipGem/EquipStrengthUpper.cs
@@ -0,0 +1,20 @@
+锘�//--------------------------------------------------------
+//    [Author]:           绗簩涓栫晫
+//    [  Date ]:           Tuesday, March 12, 2019
+//--------------------------------------------------------
+using UnityEngine;
+using System.Collections;
+using UnityEngine.UI;
+
+namespace Snxxz.UI {
+
+    public class EquipStrengthUpper:MonoBehaviour {
+
+
+
+    }
+
+}
+
+
+
diff --git a/System/EquipGem/EquipStrengthUpper.cs.meta b/System/EquipGem/EquipStrengthUpper.cs.meta
new file mode 100644
index 0000000..74cc271
--- /dev/null
+++ b/System/EquipGem/EquipStrengthUpper.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 1516767d3f16f2b42935fd31e00c3dca
+timeCreated: 1552361590
+licenseType: Pro
+MonoImporter:
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 
diff --git a/System/EquipGem/EquipStrengthWin.cs b/System/EquipGem/EquipStrengthWin.cs
index a981f6d..1d691ff 100644
--- a/System/EquipGem/EquipStrengthWin.cs
+++ b/System/EquipGem/EquipStrengthWin.cs
@@ -15,11 +15,16 @@
     public class EquipStrengthWin : Window
     {
         [SerializeField] ScrollerController m_Controller;
+        [SerializeField] GameObject m_NotEquipped;//鏈澶�
+        [SerializeField] EquipStrengthFull m_EquipStrengthFull;//婊$骇
+        [SerializeField] EquipStrengthUpper m_EquipStrengthUpper;//寮哄寲涓婇檺
+        [SerializeField] EquipStrengthRein m_EquipStrengthRein;//鍙己鍖�
 
         EquipStrengthModel strengthModel { get { return ModelCenter.Instance.GetModel<EquipStrengthModel>(); } }
         EquipGemModel model { get { return ModelCenter.Instance.GetModel<EquipGemModel>(); } }
         EquipModel equipModel { get { return ModelCenter.Instance.GetModel<EquipModel>(); } }
-        PackModel packModel { get { return ModelCenter.Instance.GetModel<PackModel>(); } }
+        PackModel packModel { get { return ModelCenter.Instance.GetModel<PackModel>(); } }
+        EquipStarModel equipStarModel { get { return ModelCenter.Instance.GetModel<EquipStarModel>(); } }
         #region Built-in
         protected override void BindController()
         {
@@ -57,6 +62,7 @@
         #endregion
         private void EquipStrengthUpdate()
         {
+            SetStrengthenedState();
         }
         void DisplayEquips()
         {
@@ -75,7 +81,7 @@
                     if (slotCount > 0)
                     {
                         m_Controller.AddCell(ScrollerDataType.Header, level);
-                        if (model.selectLevel == level)
+                        if (strengthModel.SelectLevel == level)
                         {
                             var places = model.GetMosaicEquipPlaces();
                             foreach (var place in places)
@@ -94,6 +100,7 @@
         private void SelectEquipRefresh()
         {
             m_Controller.m_Scorller.RefreshActiveCellViews();
+            SetStrengthenedState();
         }
 
         private void SelectLevelRefresh()
@@ -116,6 +123,57 @@
                     break;
             }
         }
+
+        private void SetStrengthenedState()
+        {
+            m_NotEquipped.SetActive(false);
+            m_EquipStrengthFull.gameObject.SetActive(false);
+            m_EquipStrengthUpper.gameObject.SetActive(false);
+            m_EquipStrengthRein.gameObject.SetActive(false);
+            int equipLevel = strengthModel.SelectLevel;
+            int equipPlace = strengthModel.SelectEquipPlace;
+            var equipSet = equipModel.GetEquipSet(equipLevel);
+            string equipGuid = string.Empty;
+            equipGuid = equipSet.GetEquip(equipPlace);
+            var equiped = !string.IsNullOrEmpty(equipGuid);
+            if (equiped)
+            {
+                int equipIndex = equipLevel * 10 + equipPlace;
+               int star= equipStarModel.GetEquipStarLevel(equipLevel, equipPlace);
+                int equipLv = 0;
+                if (strengthModel.EquipStrengthDic.ContainsKey(equipIndex))//鑾峰彇褰撳墠寮哄寲绛夌骇
+                {
+                    equipLv = strengthModel.EquipStrengthDic[equipIndex].EquipPartStarLV;
+                }
+
+                int equipType = strengthModel.GetEquipStrengthType(equipPlace);
+                var itemPlusMaxConfig = ItemPlusMaxConfig.GetEquipTypeAndEquipStar(equipType, equipPlace);//鑾峰彇寮哄寲绛夌骇涓婇檺鍊�
+                if (itemPlusMaxConfig == null)
+                {
+                    DebugEx.LogError("鏈煡鎵惧埌琛ㄦ暟鎹�");
+                    return;
+                }
+
+                int maxLv = strengthModel.GetEquipLevelMax(equipType);//鑾峰彇鏈�澶у己鍖栫瓑绾�
+
+                if (equipLv >= maxLv)//婊$骇
+                {
+                    m_EquipStrengthFull.gameObject.SetActive(true);
+                }
+                else if (maxLv > equipLv && equipLv >= itemPlusMaxConfig.levelMax)//寮哄寲涓婇檺
+                {
+                    m_EquipStrengthUpper.gameObject.SetActive(true);
+                }
+                else if (itemPlusMaxConfig.levelMax > equipLv)//鍙己鍖栬繃
+                {
+                    m_EquipStrengthRein.gameObject.SetActive(true);
+                }
+            }
+            else
+            {
+                m_NotEquipped.SetActive(true);
+            }
+        }
     }
 
 }
diff --git a/System/Strengthening/StrengthenModel.cs b/System/Strengthening/StrengthenModel.cs
index f18ab9e..4b5dd74 100644
--- a/System/Strengthening/StrengthenModel.cs
+++ b/System/Strengthening/StrengthenModel.cs
@@ -203,11 +203,11 @@
                 ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
                 if (EquipMax(_Item.EquipPlace) != 3)
                 {
-                    _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), _Item.LV, _Item.ItemColor);
+                    //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), _Item.LV, _Item.ItemColor);
                 }
                 else
                 {
-                    _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), 0, 0);
+                    //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), 0, 0);
                 }
                 if (_itemPM.levelMax > DicEquip[key].CurrentLevel)
                 {
@@ -241,11 +241,11 @@
             ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
             if (EquipMax(_Item.EquipPlace) != 3)
             {
-                _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), _Item.LV, _Item.ItemColor);
+                //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), _Item.LV, _Item.ItemColor);
             }
             else
             {
-                _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), 0, 0);
+                //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), 0, 0);
             }
 
             int MaxLV = _itemPM.levelMax;
@@ -328,11 +328,11 @@
         ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
         if (EquipMax(_Item.EquipPlace) != 3)
         {
-            _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), _Item.LV, _Item.ItemColor);
+            //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), _Item.LV, _Item.ItemColor);
         }
         else
         {
-            _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), 0, 0);
+            //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), 0, 0);
         }
 
         if (_itemPM.levelMax >= EquipPartStarLV)
@@ -407,7 +407,7 @@
             {
                 ItemModel item = singlePack.GetItemByIndex(Index);
                 ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
-                _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(Index), 0, 0);
+                //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(Index), 0, 0);
                 if (_itemPM.levelMax > strengthengmodel._EqInfo[Index].EquipPartStarLV)//鏈�澶у彲鍗囬樁绛夌骇鍜屾湇鍔$瀵规瘮
                 {
                     return true;
@@ -478,11 +478,11 @@
                 ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
                 if (EquipMax(_Item.EquipPlace) != 3)
                 {
-                    _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), _Item.LV, _Item.ItemColor);
+                    //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), _Item.LV, _Item.ItemColor);
                 }
                 else
                 {
-                    _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), 0, 0);
+                    //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(EquipMax(_Item.EquipPlace), 0, 0);
                 }
                 if (_itemPM.levelMax > DicEquip[key].CurrentLevel)
                 {
diff --git a/System/Strengthening/StrengtheningSripts.cs b/System/Strengthening/StrengtheningSripts.cs
index 53a9f4e..4153103 100644
--- a/System/Strengthening/StrengtheningSripts.cs
+++ b/System/Strengthening/StrengtheningSripts.cs
@@ -332,11 +332,11 @@
             ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
             if (strengthengmodel.EquipMax(_tag) != 3)
             {
-                _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_tag), ItemConfig.Get((int)item.itemId).LV, ItemConfig.Get(item.itemId).ItemColor);
+                //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_tag), ItemConfig.Get((int)item.itemId).LV, ItemConfig.Get(item.itemId).ItemColor);
             }
             else
             {
-                _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_tag), 0, 0);
+                //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_tag), 0, 0);
             }
             if (_itemPM.levelMax > strengthengmodel._EqInfo[_tag].EquipPartStarLV)
             {
@@ -391,12 +391,12 @@
             ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
             if (strengthengmodel.EquipMax(_tag) != 3)
             {
-                _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_tag),
-                    ItemConfig.Get(item.itemId).LV, ItemConfig.Get(item.itemId).ItemColor);
+                //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_tag),
+                //    ItemConfig.Get(item.itemId).LV, ItemConfig.Get(item.itemId).ItemColor);
             }
             else
             {
-                _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_tag), 0, 0);
+                //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_tag), 0, 0);
             }
             if (_itemPM.levelMax > strengthengmodel._EqInfo[_tag].EquipPartStarLV)
             {
@@ -474,12 +474,12 @@
         ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
         if (strengthengmodel.EquipMax(_tag) != 3)
         {
-            _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_tag),
-                ItemConfig.Get(item.itemId).LV, ItemConfig.Get(item.itemId).ItemColor);
+            //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_tag),
+            //    ItemConfig.Get(item.itemId).LV, ItemConfig.Get(item.itemId).ItemColor);
         }
         else
         {
-            _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_tag), 0, 0);
+            //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_tag), 0, 0);
         }
         if (_itemPM.levelMax >= _number)
         {
@@ -566,7 +566,7 @@
             {
                 ItemModel item = singlePack.GetItemByIndex(Index);
                 ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
-                _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(Index), 0, 0);
+                //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(Index), 0, 0);
                 if (_itemPM.levelMax > strengthengmodel._EqInfo[Index].EquipPartStarLV)//鏈�澶у彲鍗囬樁绛夌骇鍜屾湇鍔$瀵规瘮
                 {
                     return true;
@@ -593,12 +593,12 @@
                 ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
                 if (strengthengmodel.EquipMax(int.Parse(_locationSort[i])) != 3)
                 {
-                    _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(int.Parse(_locationSort[i])),
-                        ItemConfig.Get(item.itemId).LV, ItemConfig.Get(item.itemId).ItemColor);
+                    //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(int.Parse(_locationSort[i])),
+                    //    ItemConfig.Get(item.itemId).LV, ItemConfig.Get(item.itemId).ItemColor);
                 }
                 else
                 {
-                    _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(int.Parse(_locationSort[i])), 0, 0);
+                    //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(int.Parse(_locationSort[i])), 0, 0);
                 }
                 if (_itemPM.levelMax > strengthengmodel._EqInfo[int.Parse(_locationSort[i])].EquipPartStarLV)//鏈�澶у彲鍗囬樁绛夌骇鍜屾湇鍔$瀵规瘮
                 {
@@ -776,12 +776,12 @@
         ItemPlusMaxConfig _tagItem = new ItemPlusMaxConfig();
         if (strengthengmodel.EquipMax(_number) != 3)
         {
-            _tagItem = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_number),
-                ItemConfig.Get(item.itemId).LV, ItemConfig.Get(item.itemId).ItemColor);
+            //_tagItem = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_number),
+            //    ItemConfig.Get(item.itemId).LV, ItemConfig.Get(item.itemId).ItemColor);
         }
         else
         {
-            _tagItem = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_number), 0, 0);
+            //_tagItem = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_number), 0, 0);
         }
         _LevelTextB.text = _tagItem.levelMax.ToString();
         if (_tagItem.levelMax == strengthengmodel._EqInfo[_number].EquipPartStarLV)
@@ -1123,11 +1123,11 @@
         ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
         if (strengthengmodel.EquipMax(_equippedWithA) != 3)
         {
-            _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_equippedWithA), _Item.LV, _Item.ItemColor);
+            //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_equippedWithA), _Item.LV, _Item.ItemColor);
         }
         else
         {
-            _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_equippedWithA), 0, 0);
+            //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_equippedWithA), 0, 0);
         }
         switch (_Item.ItemColor)
         {
@@ -1180,11 +1180,11 @@
         ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
         if (strengthengmodel.EquipMax(_Item.EquipPlace) != 3)
         {
-            _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_Item.EquipPlace), _Item.LV, _Item.ItemColor);
+            //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_Item.EquipPlace), _Item.LV, _Item.ItemColor);
         }
         else
         {
-            _itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_Item.EquipPlace), 0, 0);
+            //_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(_Item.EquipPlace), 0, 0);
         }
         switch (_Item.ItemColor)
         {

--
Gitblit v1.8.0