【鸿蒙阵修改】
parent
d9d20b7468
commit
594bab5024
|
|
@ -237,7 +237,7 @@ end
|
||||||
function RoleUpStarListPanel:AutoSelectHero()
|
function RoleUpStarListPanel:AutoSelectHero()
|
||||||
curSelectHeroList = {}
|
curSelectHeroList = {}
|
||||||
for i = 1, #heroDataList do
|
for i = 1, #heroDataList do
|
||||||
if LengthOfTable(curSelectHeroList) < curNeedRoleNum and heroDataList[i].isFormation == "" and heroDataList[i].lockState == 0 then
|
if LengthOfTable(curSelectHeroList) < curNeedRoleNum and heroDataList[i].isFormation == "" and heroDataList[i].lockState == 0 and (not HarmonyManager.IsChangeColor(heroDataList[i].dynamicId)) then
|
||||||
curSelectHeroList[heroDataList[i].dynamicId]=heroDataList[i]
|
curSelectHeroList[heroDataList[i].dynamicId]=heroDataList[i]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue