少年修仙传客户端代码仓库
client_Zxw
2018-08-27 5eeceabd1c4050aa62e26e47854a743731b6a719
[2614]神兽开发
1个文件已修改
24 ■■■■■ 已修改文件
System/Strengthening/GodBeastAttributes.cs 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Strengthening/GodBeastAttributes.cs
@@ -92,7 +92,20 @@
        }
        private void OnClickStrengthBtn()
        {
            Dictionary<int, int> DicAb = m_GodBeastSlidingList.Absorption_Dic;
            List<int> List = new List<int>();
            foreach (var key in DicAb.Keys)
            {
                List.Add(key);
            }
            if (m_DoubleToggle.isOn)
            {
                dogz_model.SendDogzEquipStrength(m_DogZItemModel.itemInfo.ItemPlace, List,1);
            }
            else
            {
                dogz_model.SendDogzEquipStrength(m_DogZItemModel.itemInfo.ItemPlace, List, 0);
            }
        }
        private void ChooseToModify(int locationMarker)
        {
@@ -304,6 +317,15 @@
                    m_TextAttributesAdd1.text = "+" + (AttValueTo[0] - AttValue[0]);
                }
            }
            if (ToExpTotal == 0)
            {
                m_StrengthenBtn.interactable = false;
            }
            else
            {
                m_StrengthenBtn.interactable = true;
            }
        }
        private int ToLv(int ToExpTotal)//获取等到达的熟练度等级