【觉醒】修复会自动选择鸿蒙阵共鸣神将的问题

dev_chengFeng
gaoxin 2021-09-06 16:35:46 +08:00
parent 11495d1076
commit 59ec0d6f20
1 changed files with 7 additions and 1 deletions

View File

@ -254,7 +254,13 @@ function RoleAwakeLayout:AutoSelectUpStarHeroList(_curUpStarData)
and curHeroData.heroConfig.Qualiy ~= 3) then
if LengthOfTable(upStarHeroListData.heroList) >= curUpStarData[i].upStarData[4] then
for i = 1, curUpStarData[i].upStarData[4] do
if upStarHeroListData.heroList[i].type == RoleUpStarMatType.item or upStarHeroListData.heroList[i].type == RoleUpStarMatType.hero and upStarHeroListData.heroList[i].lockState == 0 and upStarHeroListData.heroList[i].isFormation == "" then
if upStarHeroListData.heroList[i].type == RoleUpStarMatType.item
or upStarHeroListData.heroList[i].type == RoleUpStarMatType.hero
and upStarHeroListData.heroList[i].lockState == 0
and upStarHeroListData.heroList[i].isFormation == ""
and not HarmonyManager.IsChangeColor(upStarHeroListData.heroList[i].dynamicId)
and not HarmonyManager:IsEnvoy(upStarHeroListData.heroList[i].dynamicId)
then
table.insert(curSelectHeroList,upStarHeroListData.heroList[i])
end
end