hch
1 天以前 6521aa56fbeba8d6509d5736bd35b1d42dcc4029
Main/System/Horse/HorseWin.cs
@@ -157,20 +157,33 @@
        keys.Sort();
        //满级 和下级属性
        var nextConfig = HorseClassConfig.Get(HorseManager.Instance.classLV + 1);
        var nextAttr = state == 1 ? nextConfig.ClassAttrValueList : (state == 0 ? config.PerLVAttrValueList : new int[config.AttrIDList.Length]);
        for (int i = 0; i < attrNameTexts.Length; i++)
        {
            if (i < keys.Count)
            {
                attrNameTexts[i].text = PlayerPropertyConfig.Get(keys[i]).Name;
                attrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(keys[i], HorseManager.Instance.attrDic[keys[i]]);
                nextAttrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(keys[i], nextAttr[i]);
                var curValue = HorseManager.Instance.attrDic[keys[i]];
                attrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(keys[i], curValue, 2);
                var addValue = 0;
                if (state == 0)
                {
                    addValue = config.PerLVAttrValueList[i];
                }
                else if (state == 1)
                {
                    addValue = nextConfig.ClassAttrValueList[i] + nextConfig.PerLVAttrValueList[i];
                }
                nextAttrValueTexts[i].text = PlayerPropertyConfig.GetValueDescription(keys[i], curValue + addValue, 2);
            }
        }
    }
    string GetSpecialAttr()
    {
        if (HorseManager.Instance.specialAttrDic.Count == 0)
            return "";
        List<string> attrList = new List<string>();
        foreach(var attrID in HorseManager.Instance.specialAttrDic.Keys)
        {