【觉醒】修复会自动选择鸿蒙阵共鸣神将的问题
parent
11495d1076
commit
59ec0d6f20
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue