【鸿蒙阵修改】

dev_chengFeng
guowei 2021-01-25 16:41:23 +08:00
parent d9d20b7468
commit 594bab5024
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ end
function RoleUpStarListPanel:AutoSelectHero()
curSelectHeroList = {}
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]
end
end