文字修改提交
parent
b260a2d0d8
commit
b63d62c7f1
|
@ -200,14 +200,14 @@ function HongMengEnvoyPanel:UpdateTextColor()
|
|||
local data = HarmonyManager:GetHongMengUpData()
|
||||
if Gold >= data.LevelUp[1][2] then
|
||||
-- 是否变色
|
||||
self.TextGold.text = string.format("<color=#F1E7E7>%d</color>",PrintWanNum(data.LevelUp[1][2]))
|
||||
self.TextGold.text = string.format("<color=#F1E7E7>%s</color>",PrintWanNum(data.LevelUp[1][2]))
|
||||
else
|
||||
self.TextGold.text = string.format("<color=#E15558>%d</color>",PrintWanNum(data.LevelUp[1][2]))
|
||||
self.TextGold.text = string.format("<color=#E15558>%s</color>",PrintWanNum(data.LevelUp[1][2]))
|
||||
end
|
||||
if GrowthAmulet >= data.LevelUp[2][2] then
|
||||
self.TextGrowthAmulet.text = string.format("<color=#F1E7E7>%d</color>",PrintWanNum(data.LevelUp[2][2]))
|
||||
self.TextGrowthAmulet.text = string.format("<color=#F1E7E7>%s</color>",PrintWanNum(data.LevelUp[2][2]))
|
||||
else
|
||||
self.TextGrowthAmulet.text = string.format("<color=#E15558>%d</color>",PrintWanNum(data.LevelUp[2][2]))
|
||||
self.TextGrowthAmulet.text = string.format("<color=#E15558>%s</color>",PrintWanNum(data.LevelUp[2][2]))
|
||||
end
|
||||
end
|
||||
function HongMengEnvoyPanel:UpdateGoldVal()
|
||||
|
|
Loading…
Reference in New Issue