红点修改提交
parent
f1bcffd06f
commit
82dd52e57c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue