装备属性字体颜色
parent
4f2aff9eaf
commit
dca51a7e2d
|
@ -384,7 +384,7 @@ function RewardEquipSingleShowPopup2:OnShow()
|
|||
-- end
|
||||
local potencyAdd=HeroManager.GetHeroPotencyAddByTypeAndPotencyData(self.curHeroData.potential,equipConfigData.Position)
|
||||
LogError("potencyAdd============"..potencyAdd)
|
||||
vText.text = "+"..GetPropertyFormatStr(proConfigData.Style, prop[2])..string.format(" <color=#00ff00>潜能 +%s(%s%%)</color>",math.floor(prop[2]*potencyAdd+0.5),potencyAdd*100)
|
||||
vText.text = "+"..GetPropertyFormatStr(proConfigData.Style, prop[2])..string.format(" <color=#8C6210>潜能 +%s(%s%%)</color>",math.floor(prop[2]*potencyAdd+0.5),potencyAdd*100)
|
||||
else
|
||||
vText.text = "+"..GetPropertyFormatStr(proConfigData.Style, prop[2])
|
||||
end
|
||||
|
@ -551,8 +551,8 @@ function RewardEquipSingleShowPopup2:OnShow()
|
|||
local name = Util.GetGameObject(_suitProList[i].transform, "proName"):GetComponent("Text")
|
||||
local value = Util.GetGameObject(_suitProList[i].transform, "proVale"):GetComponent("Text")
|
||||
if equipSuite[i] then
|
||||
name.text = string.format("<color=#00ff66>%s+ %s</color>",GetLanguageStrById(propertyConfig[equipSuite[i][2][2]].Info),GetPropertyFormatStr(propertyConfig[equipSuite[i][2][2]].Style,equipSuite[i][2][3]))
|
||||
value.text = string.format("<color=#00ff66>(%s)</color>",GetEquipSuitStr2(equipSuite[i][1],equipSuite[i][2][1]))
|
||||
name.text = string.format("<color=#108C24>%s+ %s</color>",GetLanguageStrById(propertyConfig[equipSuite[i][2][2]].Info),GetPropertyFormatStr(propertyConfig[equipSuite[i][2][2]].Style,equipSuite[i][2][3]))
|
||||
value.text = string.format("<color=#108C24>(%s)</color>",GetEquipSuitStr2(equipSuite[i][1],equipSuite[i][2][1]))
|
||||
else
|
||||
--LogError("[suiteValue[i][2]==="..suiteValue[i][2])
|
||||
--LogError("suiteValue[i][3]=================="..suiteValue[i][3])
|
||||
|
@ -616,8 +616,8 @@ function RewardEquipSingleShowPopup2:OnShow()
|
|||
local value = Util.GetGameObject(go.transform, "Name/vale"):GetComponent("Text")
|
||||
name.text = string.format("不朽天赋%s:",i)
|
||||
if equipGoldSuite[i] then
|
||||
value.text = string.format("<color=#00ff66>(%s)</color>",GetEquipSuitStr(equipGoldSuite[i][1],equipGoldSuite[i][2][1]))
|
||||
go:GetComponent("Text").text = string.format("<color=#00ff66>%s</color>",GetLanguageStrById(passiveSkillConfig[equipGoldSuite[i][2][2]].Desc))
|
||||
value.text = string.format("<color=#108C24>(%s)</color>",GetEquipSuitStr(equipGoldSuite[i][1],equipGoldSuite[i][2][1]))
|
||||
go:GetComponent("Text").text = string.format("<color=#108C24>%s</color>",GetLanguageStrById(passiveSkillConfig[equipGoldSuite[i][2][2]].Desc))
|
||||
else
|
||||
value.text = string.format("<color=#8C6210>(%s)</color>",GetEquipSuitStr(curGoldSuitConFig.Id,goldSuiteSkill[i][1]))
|
||||
LogError("goldSuiteSkill[i][2]=="..goldSuiteSkill[i][2])
|
||||
|
|
Loading…
Reference in New Issue