| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: Fish |
| | | // [ Date ]: Thursday, February 14, 2019 |
| | | // [ Date ]: Tuesday, March 12, 2019 |
| | | //-------------------------------------------------------- |
| | | |
| | | using System.Collections.Generic; |
| | |
| | | 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() |
| | |
| | | { |
| | | 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) |
| | | { |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 709eceec8717fff4c8f2d12d19aa7f7c |
| | | timeCreated: 1550121833 |
| | | timeCreated: 1552371037 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | |
|
| | | 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;
|
| | | }
|
| | |
|
| New file |
| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Tuesday, March 12, 2019 |
| | | //-------------------------------------------------------- |
| | | using UnityEngine; |
| | | using System.Collections; |
| | | using UnityEngine.UI; |
| | | |
| | | namespace Snxxz.UI { |
| | | |
| | | public class EquipStrengthFull:MonoBehaviour { |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: f3fe1c9e8a1842a45a9ba5a42109aaf9 |
| | | timeCreated: 1552361552 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| | |
| | | }
|
| | | 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;//一级页签刷新
|
| | |
| | | }
|
| | | public override void Init()
|
| | | {
|
| | |
|
| | | var strengthenLevelLimit = FuncConfigConfig.Get("StrengthenLevelLimit").Numerical1;
|
| | | PartTypeDic = ConfigParse.GetDic<int, int>(strengthenLevelLimit);
|
| | | GetEquipLevelMax();
|
| | | }
|
| | |
|
| | | public void OnBeforePlayerDataInitialize()
|
| | |
| | | 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;
|
| | | }
|
| | | } |
| | | |
| | | |
| New file |
| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Tuesday, March 12, 2019 |
| | | //-------------------------------------------------------- |
| | | using UnityEngine; |
| | | using System.Collections; |
| | | using UnityEngine.UI; |
| | | |
| | | namespace Snxxz.UI { |
| | | |
| | | public class EquipStrengthRein:MonoBehaviour { |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 47cefd6066776454b8dd49ab23e93029 |
| | | timeCreated: 1552361612 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| New file |
| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Tuesday, March 12, 2019 |
| | | //-------------------------------------------------------- |
| | | using UnityEngine; |
| | | using System.Collections; |
| | | using UnityEngine.UI; |
| | | |
| | | namespace Snxxz.UI { |
| | | |
| | | public class EquipStrengthUpper:MonoBehaviour { |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 1516767d3f16f2b42935fd31e00c3dca |
| | | timeCreated: 1552361590 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| | |
| | | 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() |
| | | { |
| | |
| | | #endregion
|
| | | private void EquipStrengthUpdate()
|
| | | {
|
| | | SetStrengthenedState();
|
| | | }
|
| | | void DisplayEquips()
|
| | | {
|
| | |
| | | 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)
|
| | |
| | | private void SelectEquipRefresh()
|
| | | {
|
| | | m_Controller.m_Scorller.RefreshActiveCellViews();
|
| | | SetStrengthenedState();
|
| | | }
|
| | |
|
| | | private void SelectLevelRefresh()
|
| | |
| | | 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);
|
| | | }
|
| | | } |
| | | } |
| | | |
| | | } |
| | |
| | | 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) |
| | | { |
| | |
| | | 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; |
| | |
| | | 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) |
| | |
| | | { |
| | | 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; |
| | |
| | | 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) |
| | | { |
| | |
| | | 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)
|
| | | {
|
| | |
| | | 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)
|
| | | {
|
| | |
| | | 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)
|
| | | {
|
| | |
| | | {
|
| | | 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;
|
| | |
| | | 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)//最大可升阶等级和服务端对比
|
| | | {
|
| | |
| | | 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)
|
| | |
| | | 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)
|
| | | {
|
| | |
| | | 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)
|
| | | {
|