【鸿蒙阵 bug修改】

dev_chengFeng
guowei 2021-01-15 11:49:41 +08:00
parent fe6b09c8a6
commit 8ca0dac9b3
2 changed files with 6 additions and 1 deletions

View File

@ -2793,6 +2793,7 @@ end
function this.LvUpBtnRedPoint(curHeroData)
HeroManager.GetCurHeroUpLvOrUpStarSData(curHeroData)
--是否为最大等级
--print( curHeroData.lv.." 最大:"..HeroManager.heroLvEnd[curHeroData.heroConfig.Id])
if curHeroData.lv >= HeroManager.heroLvEnd[curHeroData.heroConfig.Id] then
return false
end
@ -3057,6 +3058,10 @@ end
--单个英雄法宝红点
function this.GetIsShowTalismanRedPoint(curHeroData)
local isOpen = TalismanManager.GetCurHeroIsOpenTalisman(curHeroData)
if HarmonyManager.IsChangeColor(curHeroData.dynamicId) then
-- body
return false
end
if not isOpen then
return false
--功能未开启

View File

@ -501,7 +501,7 @@ function this:UpdateHeroInfoData()
if teamHero[curHeroData.dynamicId] then
isUpZhen = true
this.equipBtnRedPoint:SetActive(#HeroManager.GetHeroIsUpEquip(curHeroData.dynamicId) > 0)
this.talismanBtnRedPoint:SetActive(HeroManager.GetIsShowTalismanRedPoint(curHeroData) and (not HarmonyManager.IsChangeColor(curHeroData.dynamicId)))
this.talismanBtnRedPoint:SetActive(HeroManager.GetIsShowTalismanRedPoint(curHeroData))
this.soulPrintBtnRedPoint:SetActive(HeroManager.GetIsShowSoulPrintRedPoint(curHeroData))
else
isUpZhen = false