【鸿蒙阵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 -- body
if herodata.talismanList > 0 then if herodata.talismanList > 0 then
-- body -- 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 else
Util.GetGameObject(this.TextOneAll,"textFa"):GetComponent("Text").text = string.format("") Util.GetGameObject(this.TextOneAll,"textFa"):GetComponent("Text").text = string.format("")
end end

View File

@ -99,7 +99,7 @@ function HongMengEnvoyPanel:BindEvent()
-- body -- body
UIManager.OpenPanel(UIName.GongMingResultTips) UIManager.OpenPanel(UIName.GongMingResultTips)
else else
PopupTipPanel.ShowTip("需要6名鸿蒙守卫才可激活共鸣效果!") PopupTipPanel.ShowTip("需要6名鸿蒙使者才可激活共鸣效果!")
end end
--print("共鸣提示") --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)) Util.GetGameObject(go.transform, "frame"):GetComponent("Image").sprite = Util.LoadSprite(GetHeroQuantityImageByquality(heroSingleData.heroConfig.Quality,heroSingleData.star))
if index == 0 then if index == 0 then
-- body -- 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 else
Util.GetGameObject(go.transform, "lv/Text"):GetComponent("Text").text = string.format("%d",heroSingleData.oriLv) Util.GetGameObject(go.transform, "lv/Text"):GetComponent("Text").text = string.format("%d",heroSingleData.oriLv)
end end

View File

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