少年修仙传客户端代码仓库
client_linchunjie
2019-03-15 a1820d8bd88041bd32b5069b7f980ec84af3cc74
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
2个文件已修改
18 ■■■■■ 已修改文件
System/EquipGem/EquipStrengthModel.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/ItemLogicUtility.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipGem/EquipStrengthModel.cs
@@ -20,9 +20,9 @@
public class EquipTypeClass
{
    public int AttType;
    public int AttValue;
    public string StrName;
    public int AttType;//属性类型
    public int AttValue;//属性值
    public string StrName;//属性名
}
public class EquipMaxLvClass
{
@@ -208,7 +208,7 @@
        return lv;
    }
    public List<EquipTypeClass> GetEquipValueList(int level, int equipPlace, int addlv = 0)
    public List<EquipTypeClass> GetEquipValueList(int level, int equipPlace, int addlv = 0)//当前获得的强化属性
    {
        List<EquipTypeClass> EquipTypeList = new List<EquipTypeClass>();
        int type = GetEquipStrengthType(equipPlace);
System/KnapSack/Logic/ItemLogicUtility.cs
@@ -251,14 +251,16 @@
        private Dictionary<int, int> GetEquipLegendProperties(int itemId)
        {
            var legendProperties = LegendPropertyUtility.GetEquipProperties(itemId);
            var legendProperties = LegendPropertyUtility.GetEquipProperties(itemId);
            var properties = new Dictionary<int, int>();
            if (legendProperties != null)
            {
                foreach (var item in legendProperties)
                if (legendProperties != null)
                {
                    properties[item.x] = item.y;
                    foreach (var item in legendProperties)
                    {
                        properties[item.x] = item.y;
                    }
                }
            }