【化虚坛】红点加功能开启判断

dev_chengFeng
zhangqiang 2021-06-03 17:56:58 +08:00
parent e77c978e6e
commit 7a80a23435
1 changed files with 6 additions and 4 deletions

View File

@ -2840,10 +2840,12 @@ function this.GetFormationHeroRedPoint()
end
--化虚坛红点判断
function this.GetAllHeroCompoundRedPoint()
for i, v in pairs(heroDatas) do
if v.star == 4 or v.star == 5 then
if this.IsShowUpStarRedPoint(v,true) then
return true
if ActTimeCtrlManager.IsQualifiled(FUNCTION_OPEN_TYPE.COMPOUND_HERO) then
for i, v in pairs(heroDatas) do
if v.star == 4 or v.star == 5 then
if this.IsShowUpStarRedPoint(v,true) then
return true
end
end
end
end