hecheng
parent
8e5e508494
commit
cc32ffadec
|
@ -287,7 +287,7 @@ function this.AutoSelectUpStarHeroList(_curUpStarData)
|
|||
-- curSelectUpStarGo = needHeros[i + 1]
|
||||
for j = 1, LengthOfTable(upStarHeroListData) do
|
||||
if #curSelectHeroList < _curUpStarData.upStarData[i][4] then
|
||||
if upStarHeroListData[j] and upStarHeroListData[j].dynamicId and upStarHeroListData[j].lockState == 0 and (curSelectHero.heroConfig and upStarHeroListData[j].dynamicId ~= curSelectHero.dynamicId) and upStarHeroListData[i].isFormation == "" then
|
||||
if upStarHeroListData[j] and upStarHeroListData[j].dynamicId and upStarHeroListData[j].lockState == 0 and (curSelectHero.heroConfig and upStarHeroListData[j].dynamicId ~= curSelectHero.dynamicId) and upStarHeroListData[j].isFormation == "" then
|
||||
table.insert(curSelectHeroList,upStarHeroListData[j])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue