合成bug
parent
916a6f7e25
commit
176f9d4c47
|
@ -445,7 +445,7 @@ function this.SingleHeroDataShow(_go,_heroData)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
function this.Compound()
|
function this.Compound()
|
||||||
if not curSelectHero or (curSelectHero and curSelectHero.heroConfig) then
|
if not curSelectHero or (curSelectHero and not curSelectHero.heroConfig) then
|
||||||
PopupTipPanel.ShowTip(Language[11852])
|
PopupTipPanel.ShowTip(Language[11852])
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
@ -577,7 +577,7 @@ function this.GetAllHeroCompoundData(index)
|
||||||
if a.config.Star == b.config.Star then
|
if a.config.Star == b.config.Star then
|
||||||
return a.config.Id < b.config.Id
|
return a.config.Id < b.config.Id
|
||||||
else
|
else
|
||||||
return a.config.Star > b.config.Star
|
return a.config.Star < b.config.Star
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
return a.needNum == lengthA and not b.needNum ~= lengthB
|
return a.needNum == lengthA and not b.needNum ~= lengthB
|
||||||
|
|
|
@ -141,8 +141,8 @@ function this.SingleHeroDataShow(go,_heroData)
|
||||||
selectHeroData = {}
|
selectHeroData = {}
|
||||||
selectHeroData[heroData.dynamicId]=heroData
|
selectHeroData[heroData.dynamicId]=heroData
|
||||||
end
|
end
|
||||||
this.info1:SetActive( not (LengthOfTable(selectHeroData) > 0))
|
-- this.info1:SetActive( not (LengthOfTable(selectHeroData) > 0))
|
||||||
this.info2:SetActive( not (LengthOfTable(selectHeroData) > 0))
|
-- this.info2:SetActive( not (LengthOfTable(selectHeroData) > 0))
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Util.AddOnceClick(formationMask, function()
|
Util.AddOnceClick(formationMask, function()
|
||||||
|
|
Loading…
Reference in New Issue