红点修改提交

dev_chengFeng
jiaoyangna 2021-10-09 15:04:43 +08:00
parent 89f66bc294
commit 4b7838584b
3 changed files with 7 additions and 4 deletions

View File

@ -167,6 +167,7 @@ function HeroLikeAbilityPanel:RequestDonate(num)
self.effect.gameObject:SetActive(false)
local SkeletonGraphic = self.curLiveObj:GetComponent("SkeletonGraphic")
SkeletonGraphic.AnimationState:SetAnimation(0, "touch", false)
CheckRedPointStatus(RedPointType.LikeabilityRed)
end)
end

View File

@ -295,9 +295,12 @@ function this.CheckRedPot()
if num > 0 then
--计算玩家拥有的英雄中对应星级的英雄的数量
for i, v in pairs(PlayerManager.heroHandBook) do
if not this.CheckIsMaxLv(i) then
return true
end
local conFig = ConfigManager.GetConfigData(ConfigName.HeroConfig,i)
if conFig and conFig.Star == 5 then
if not this.CheckIsMaxLv(i) then
return true
end
end
end
end
end

View File

@ -5896,7 +5896,6 @@ function NetManager.HeroUpLikableRequest(heroId,itemId,itemNum,func)
HeroPropManager.SetDirtyByType(v.dynamicId, Hero_Prop_Type.LikeAbility)
end
end
CheckRedPointStatus(RedPointType.LikeabilityRed)
if func then
func()
end