| | |
| | | { |
| | | var starValue = PlayerPropertyConfig.GetValueDescription((int)PropertyType.ATK, attack.z); |
| | | var starDescription = UIHelper.AppendColor(TextColType.Green, string.Format(" ({0}星+{1})", data.star, starValue)); |
| | | lines[lineIndex++] = string.Format("{0} +{1}-{2}{3}", name, attack.x, attack.y, starDescription); |
| | | lines[lineIndex++] = string.Format("{0}: {1}-{2}{3}", name, attack.x, attack.y, starDescription); |
| | | } |
| | | else |
| | | { |
| | | lines[lineIndex++] = string.Format("{0} +{1}-{2}", name, attack.x, attack.y); |
| | | lines[lineIndex++] = string.Format("{0}: {1}-{2}", name, attack.x, attack.y); |
| | | } |
| | | } |
| | | |
| | | foreach (var property in normalProperties) |
| | | { |
| | | var config = PlayerPropertyConfig.Get(property.x); |
| | | var name = config.Name; |
| | | if (property.z > 0) |
| | | { |
| | | var starValue = PlayerPropertyConfig.GetValueDescription(property.x, property.z); |
| | | var starDescription = UIHelper.AppendColor(TextColType.Green, string.Format(" ({0}星+{1})", data.star, starValue)); |
| | | lines[lineIndex++] = string.Format("{0}{1}", PlayerPropertyConfig.GetFullDescription(property.x, property.y), starDescription); |
| | | lines[lineIndex++] = string.Format("{0}: {1}{2}", name, PlayerPropertyConfig.GetValueDescription(property.x, property.y), starDescription); |
| | | } |
| | | else |
| | | { |
| | | lines[lineIndex++] = PlayerPropertyConfig.GetFullDescription(property.x,property.y); |
| | | lines[lineIndex++] = string.Format("{0}: {1}", name, PlayerPropertyConfig.GetValueDescription(property.x, property.y)); |
| | | } |
| | | } |
| | | |