From 034f1835dbc7c282701426c8cb564f06fbc24b4f Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 14 三月 2019 16:20:45 +0800
Subject: [PATCH] 3335 修改装备tips
---
System/ItemTip/TipLegendPropertyWidget.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/System/ItemTip/TipLegendPropertyWidget.cs b/System/ItemTip/TipLegendPropertyWidget.cs
index eb7abd2..7cd2aa9 100644
--- a/System/ItemTip/TipLegendPropertyWidget.cs
+++ b/System/ItemTip/TipLegendPropertyWidget.cs
@@ -17,19 +17,19 @@
{
var count = data.properties.Count;
var lines = new string[count];
-
for (int i = 0; i < count; i++)
{
var property = data.properties[i];
var config = PlayerPropertyConfig.Get(property.x);
var value = PlayerPropertyConfig.GetPropertyDescription(property.x, property.y);
+ var quality = LegendPropertyConfig.Get(property.x).quality;
if (data.isPreview)
{
- lines[i] = string.Format("[鎺ㄨ崘]{0}+{1}", config.Name, value);
+ lines[i] = UIHelper.AppendColor(quality, string.Format("[鎺ㄨ崘]{0}+{1}", config.Name, value));
}
else
{
- lines[i] = string.Format("{0}+{1}", config.Name, value);
+ lines[i] = UIHelper.AppendColor(quality, string.Format("{0}+{1}", config.Name, value));
}
}
--
Gitblit v1.8.0