From 7a80a23435b61eff80e5800bd39b5bb728e452a9 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Thu, 3 Jun 2021 17:56:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8C=96=E8=99=9A=E5=9D=9B=E3=80=91?= =?UTF-8?q?=E7=BA=A2=E7=82=B9=E5=8A=A0=E5=8A=9F=E8=83=BD=E5=BC=80=E5=90=AF?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Hero/HeroManager.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua b/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua index 71026c76ec..110cd2e35e 100644 --- a/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua @@ -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