【神将回退】将魂足够升星时,进阶页签不显示红点
parent
b7b71930f5
commit
76c682eb68
|
|
@ -3137,12 +3137,15 @@ function this.IsShowUpStarRedPoint(curHeroData,isNoDeleFormation)--isNoDeleForma
|
||||||
upStarMaterialIsAll[curSelectUpStarData.upStarData[2]] = 2
|
upStarMaterialIsAll[curSelectUpStarData.upStarData[2]] = 2
|
||||||
if #upStarHeroListData.heroList >= curSelectUpStarData.upStarData[4] then
|
if #upStarHeroListData.heroList >= curSelectUpStarData.upStarData[4] then
|
||||||
for j = 1, #upStarHeroListData.heroList do
|
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
|
(upStarHeroListData.heroList[j].isFormation == "" or isNoDeleFormation) and
|
||||||
#curSelectHeroList < curSelectUpStarData.upStarData[4] and
|
#curSelectHeroList < curSelectUpStarData.upStarData[4] and
|
||||||
not upStarConsumeMaterial[upStarHeroListData.heroList[j].dynamicId] and
|
not upStarConsumeMaterial[upStarHeroListData.heroList[j].dynamicId] and
|
||||||
not HarmonyManager.IsChangeColor(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
|
then
|
||||||
table.insert(curSelectHeroList, upStarHeroListData.heroList[j])
|
table.insert(curSelectHeroList, upStarHeroListData.heroList[j])
|
||||||
end
|
end
|
||||||
|
|
@ -3151,7 +3154,9 @@ function this.IsShowUpStarRedPoint(curHeroData,isNoDeleFormation)--isNoDeleForma
|
||||||
upStarMaterialIsAll[curSelectUpStarData.upStarData[2]] = 1
|
upStarMaterialIsAll[curSelectUpStarData.upStarData[2]] = 1
|
||||||
end
|
end
|
||||||
for _i, v in pairs(curSelectHeroList) do
|
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
|
end
|
||||||
--end
|
--end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue