【神将回退】将魂足够升星时,进阶页签不显示红点

dev_chengFeng
jiaoyangna 2021-12-20 12:05:11 +08:00
parent b7b71930f5
commit 76c682eb68
1 changed files with 8 additions and 3 deletions

View File

@ -3137,12 +3137,15 @@ function this.IsShowUpStarRedPoint(curHeroData,isNoDeleFormation)--isNoDeleForma
upStarMaterialIsAll[curSelectUpStarData.upStarData[2]] = 2
if #upStarHeroListData.heroList >= curSelectUpStarData.upStarData[4] then
for j = 1, #upStarHeroListData.heroList do
if upStarHeroListData.heroList[j].lockState == 0 and
LogGreen("upStarHeroListData.heroList[j].type:"..upStarHeroListData.heroList[j].type)
LogGreen("upStarHeroListData.heroList[j].dynamicId:"..tostring(upStarHeroListData.heroList[j].dynamicId))
if (upStarHeroListData.heroList[j].type == RoleUpStarMatType.hero and upStarHeroListData.heroList[j].lockState == 0 and
(upStarHeroListData.heroList[j].isFormation == "" or isNoDeleFormation) and
#curSelectHeroList < curSelectUpStarData.upStarData[4] and
not upStarConsumeMaterial[upStarHeroListData.heroList[j].dynamicId] and
not HarmonyManager.IsChangeColor(upStarHeroListData.heroList[j].dynamicId) and
not (HarmonyManager:IsEnvoy(upStarHeroListData.heroList[j].dynamicId) and HarmonyManager.GetSingleAdditionsData(HarmonyAddType.AddLv) and HarmonyManager.GetSingleAdditionsData(HarmonyAddType.AddLv).heroTid == 0)
not (HarmonyManager:IsEnvoy(upStarHeroListData.heroList[j].dynamicId) and HarmonyManager.GetSingleAdditionsData(HarmonyAddType.AddLv) and HarmonyManager.GetSingleAdditionsData(HarmonyAddType.AddLv).heroTid == 0))
or upStarHeroListData.heroList[j].type == RoleUpStarMatType.item
then
table.insert(curSelectHeroList, upStarHeroListData.heroList[j])
end
@ -3151,7 +3154,9 @@ function this.IsShowUpStarRedPoint(curHeroData,isNoDeleFormation)--isNoDeleForma
upStarMaterialIsAll[curSelectUpStarData.upStarData[2]] = 1
end
for _i, v in pairs(curSelectHeroList) do
upStarConsumeMaterial[v.dynamicId] = v.dynamicId
if v.dynamicId then
upStarConsumeMaterial[v.dynamicId] = v.dynamicId
end
end
end
--end