红点修改提交
parent
89f66bc294
commit
4b7838584b
|
@ -167,6 +167,7 @@ function HeroLikeAbilityPanel:RequestDonate(num)
|
||||||
self.effect.gameObject:SetActive(false)
|
self.effect.gameObject:SetActive(false)
|
||||||
local SkeletonGraphic = self.curLiveObj:GetComponent("SkeletonGraphic")
|
local SkeletonGraphic = self.curLiveObj:GetComponent("SkeletonGraphic")
|
||||||
SkeletonGraphic.AnimationState:SetAnimation(0, "touch", false)
|
SkeletonGraphic.AnimationState:SetAnimation(0, "touch", false)
|
||||||
|
CheckRedPointStatus(RedPointType.LikeabilityRed)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -295,9 +295,12 @@ function this.CheckRedPot()
|
||||||
if num > 0 then
|
if num > 0 then
|
||||||
--计算玩家拥有的英雄中对应星级的英雄的数量
|
--计算玩家拥有的英雄中对应星级的英雄的数量
|
||||||
for i, v in pairs(PlayerManager.heroHandBook) do
|
for i, v in pairs(PlayerManager.heroHandBook) do
|
||||||
if not this.CheckIsMaxLv(i) then
|
local conFig = ConfigManager.GetConfigData(ConfigName.HeroConfig,i)
|
||||||
return true
|
if conFig and conFig.Star == 5 then
|
||||||
end
|
if not this.CheckIsMaxLv(i) then
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -5896,7 +5896,6 @@ function NetManager.HeroUpLikableRequest(heroId,itemId,itemNum,func)
|
||||||
HeroPropManager.SetDirtyByType(v.dynamicId, Hero_Prop_Type.LikeAbility)
|
HeroPropManager.SetDirtyByType(v.dynamicId, Hero_Prop_Type.LikeAbility)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
CheckRedPointStatus(RedPointType.LikeabilityRed)
|
|
||||||
if func then
|
if func then
|
||||||
func()
|
func()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue