parent
7ffae74046
commit
fde939b62b
|
@ -391,7 +391,8 @@ function FaLingSingleShowPopup:OnShow()
|
||||||
end
|
end
|
||||||
skillData.des=skillData.des.."(".. ProfessionType[lvList[i].ShowSkill[2]].."职业佩戴后生效".. ")"
|
skillData.des=skillData.des.."(".. ProfessionType[lvList[i].ShowSkill[2]].."职业佩戴后生效".. ")"
|
||||||
elseif type==2 then
|
elseif type==2 then
|
||||||
if lv>=lvList[i].Level and self.curHeroData and self.curHeroData.staticId==lvList[i].ShowSkill[2] then
|
--LogError("lv=========="..lv.." lvList[i].Level=="..lvList[i].Level.." self.curHeroData.staticId=="..self.curHeroData.staticId.." lvList[i].ShowSkill[2]=="..lvList[i].ShowSkill[2])
|
||||||
|
if lv>=lvList[i].Level and self.curHeroData and self.curHeroData.heroConfig.Id==lvList[i].ShowSkill[2] then
|
||||||
skillData.state=1
|
skillData.state=1
|
||||||
end
|
end
|
||||||
skillData.des=skillData.des.."(".. heroConfig[lvList[i].ShowSkill[2]].ReadingName .."佩戴后生效".. ")"
|
skillData.des=skillData.des.."(".. heroConfig[lvList[i].ShowSkill[2]].ReadingName .."佩戴后生效".. ")"
|
||||||
|
@ -418,7 +419,7 @@ function FaLingSingleShowPopup:OnShow()
|
||||||
local info = go:GetComponent("Text")
|
local info = go:GetComponent("Text")
|
||||||
local skillData=goldSuiteSkill[i]
|
local skillData=goldSuiteSkill[i]
|
||||||
if skillData.state==1 then
|
if skillData.state==1 then
|
||||||
info.text = string.format("<color=#895A24>%s</color>","["..skillData.openLv.."级开启]:"..GetLanguageStrById(skillData.des))
|
info.text = string.format("<color=#1F9E46>%s</color>","["..skillData.openLv.."级开启]:"..GetLanguageStrById(skillData.des))
|
||||||
else
|
else
|
||||||
info.text = string.format("<color=#895A24>%s</color>","["..skillData.openLv.."级开启]:"..GetLanguageStrById(skillData.des))
|
info.text = string.format("<color=#895A24>%s</color>","["..skillData.openLv.."级开启]:"..GetLanguageStrById(skillData.des))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue