红点修改提交

dev_chengFeng
jiaoyangna 2022-03-29 16:41:19 +08:00
parent f1bcffd06f
commit 82dd52e57c
1 changed files with 14 additions and 1 deletions

View File

@ -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