红点修改提交
parent
89f66bc294
commit
4b7838584b
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue