【鸿蒙阵bug修改】

dev_chengFeng
guowei 2021-01-20 19:19:34 +08:00
parent bf0ac8322d
commit 6d54d82328
4 changed files with 8 additions and 8 deletions

View File

@ -180,7 +180,7 @@ function GongMingResultTips:OnOpen(flag)
-- body
if herodata.talismanList > 0 then
-- body
Util.GetGameObject(this.TextOneAll,"textFa"):GetComponent("Text").text = string.format("%d",herodata.talismanList)
Util.GetGameObject(this.TextOneAll,"textFa"):GetComponent("Text").text = string.format("%d",herodata.oritalismanList)
else
Util.GetGameObject(this.TextOneAll,"textFa"):GetComponent("Text").text = string.format("")
end

View File

@ -99,7 +99,7 @@ function HongMengEnvoyPanel:BindEvent()
-- body
UIManager.OpenPanel(UIName.GongMingResultTips)
else
PopupTipPanel.ShowTip("需要6名鸿蒙守卫才可激活共鸣效果!")
PopupTipPanel.ShowTip("需要6名鸿蒙使者才可激活共鸣效果!")
end
--print("共鸣提示")

View File

@ -76,7 +76,7 @@ function HongMengUnLoadPanel:SetItem(go,data,index)
Util.GetGameObject(go.transform, "frame"):GetComponent("Image").sprite = Util.LoadSprite(GetHeroQuantityImageByquality(heroSingleData.heroConfig.Quality,heroSingleData.star))
if index == 0 then
-- body
Util.GetGameObject(go.transform, "lv/Text"):GetComponent("Text").text = string.format("<color=#0f0>%d</color>",heroSingleData.lv)
Util.GetGameObject(go.transform, "lv/Text"):GetComponent("Text").text = string.format("<color=#ffbe22>%d</color>",heroSingleData.lv)
else
Util.GetGameObject(go.transform, "lv/Text"):GetComponent("Text").text = string.format("%d",heroSingleData.oriLv)
end

View File

@ -126,9 +126,9 @@ function HongMengUnLoadPanel:SetTextTwo(go,data)
if data.star >= 6 then
-- body
if data.talismanList > 0 then
if data.oritalismanList > 0 then
-- body
Util.GetGameObject(go.transform,"TextFa"):GetComponent("Text").text = string.format("%d",data.talismanList)
Util.GetGameObject(go.transform,"TextFa"):GetComponent("Text").text = string.format("%d",data.oritalismanList)
else
Util.GetGameObject(go.transform,"TextFa"):GetComponent("Text").text = string.format("")
end
@ -234,13 +234,13 @@ function HongMengUnLoadPanel:SetText(go,_data)
else
-- print(data[i].value)
if _data.star >= 6 then
if dataAdditon[i].value > 0 and _data.talismanList < dataAdditon[i].value then
if dataAdditon[i].value > 0 and _data.oritalismanList < dataAdditon[i].value then
Util.GetGameObject(go.transform,"TextFa"):GetComponent("Text").text = string.format("%d",dataAdditon[i].value)
else
if _data.talismanList >= dataAdditon[i].value then
if _data.oritalismanList >= dataAdditon[i].value then
-- body
Util.GetGameObject(go.transform,"TextFa"):GetComponent("Text").text = string.format("%d",_data.talismanList)
Util.GetGameObject(go.transform,"TextFa"):GetComponent("Text").text = string.format("%d",_data.oritalismanList)
else
Util.GetGameObject(go.transform,"TextFa"):GetComponent("Text").text = string.format("")
end