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