| | |
| | | var dict = HorseManager.Instance.GetAttrBySkinID(config); |
| | | var attrList = new List<string>(); |
| | | var skinData = HorseManager.Instance.GetSkinData(config.SkinID); |
| | | if (skinData != null) |
| | | if (skinData != null && skinData.Star < config.StarMax) |
| | | { |
| | | //升星 |
| | | if (skinData.Star == 0 || skinData.Star >= config.StarMax) |
| | | int i = 0; |
| | | foreach (var kv in dict) |
| | | { |
| | | foreach (var kv in dict) |
| | | { |
| | | attrList.Add(UIHelper.AppendColor(TextColType.itemchuanqi, PlayerPropertyConfig.GetFullDescription(kv.Key, kv.Value))); |
| | | } |
| | | return Language.Get("PhantasmPavilion07") + string.Join(Language.Get("L1112"), attrList); |
| | | attrList.Add(UIHelper.AppendColor(TextColType.itemchuanqi, PlayerPropertyConfig.GetFullDescription(kv.Key, kv.Value)) + |
| | | Language.Get("PhantasmPavilion12", UIHelper.AppendColor(TextColType.Green, "+" + PlayerPropertyConfig.GetValueDescription(kv.Key, config.AttrPerStarAddList[i])))); |
| | | i++; |
| | | } |
| | | else |
| | | { |
| | | int i = 0; |
| | | foreach (var kv in dict) |
| | | { |
| | | attrList.Add(UIHelper.AppendColor(TextColType.itemchuanqi, PlayerPropertyConfig.GetFullDescription(kv.Key, kv.Value)) + |
| | | Language.Get("PhantasmPavilion12", UIHelper.AppendColor(TextColType.Green, "+" + PlayerPropertyConfig.GetValueDescription(kv.Key, config.AttrPerStarAddList[i])))); |
| | | i++; |
| | | } |
| | | return Language.Get("PhantasmPavilion07") + string.Join(Language.Get("L1112"), attrList); |
| | | } |
| | | return Language.Get("PhantasmPavilion07") + string.Join(Language.Get("L1112"), attrList); |
| | | } |
| | | else |
| | | { |