合成bug

dev_chengFeng
zhangqiang 2020-08-10 16:17:13 +08:00
parent 916a6f7e25
commit 176f9d4c47
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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()