diff --git a/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua b/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua index 613b6691c5..67ee7dab5f 100644 --- a/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua @@ -3316,6 +3316,20 @@ function this.IsShowFlyUpRedPoint(curHeroData,isNoDeleFormation)--isNoDeleFormat -- --培养已满 -- end local curUpStarData= HeroManager.GetHeroCurUpStarInfo(curHeroData.dynamicId) + + local upStarRankUpConfig = nil + local heroRankUpConfig = ConfigManager.GetConfig(ConfigName.HeroRankupConfig) + for i, v in ConfigPairs(heroRankUpConfig) do + if v.Star==curHeroData.heroConfig.Star then--初始星级相等 + if v.Show==2 then -- 2 升星 + if v.Id ~= curHeroData.upStarId and curHeroData.star == v.LimitStar then + --Log("升星 "..v.Id) + upStarRankUpConfig=v + end + end + end + end + if curUpStarData and #curUpStarData>0 then else --培养已满 @@ -3331,7 +3345,6 @@ function this.IsShowFlyUpRedPoint(curHeroData,isNoDeleFormation)--isNoDeleFormat return false end if upStarRankUpConfig and upStarRankUpConfig.LimitHongmengLevel and HarmonyManager.GetSingleAdditions(HarmonyAddType.AddLv) < upStarRankUpConfig.LimitHongmengLevel then - else return false end if upStarRankUpConfig then