parent
845373e12d
commit
8b13f803c8
|
@ -185,6 +185,7 @@ function this.UpdateHeroDatas(_msgHeroData, isFindHandBook)
|
|||
if isFindHandBook then --图鉴
|
||||
PlayerManager.SetHeroHandBookListData(heroData.id, heroData.star)
|
||||
CheckRedPointStatus(RedPointType.wujinBianDui)
|
||||
CheckRedPointStatus(RedPointType.LikeabilityRed)
|
||||
CheckRedPointStatus(RedPointType.EndlessPanel)
|
||||
end
|
||||
heroData.warPower = 0--HeroPowerManager.GetHeroPower(heroData.dynamicId)
|
||||
|
|
|
@ -293,7 +293,12 @@ function this.CheckRedPot()
|
|||
for k,v in pairs(this.ItemList) do
|
||||
local num = BagManager.GetItemCountById(k)
|
||||
if num > 0 then
|
||||
return true
|
||||
--计算玩家拥有的英雄中对应星级的英雄的数量
|
||||
for i, v in pairs(PlayerManager.heroHandBook) do
|
||||
if not this.CheckIsMaxLv(i) then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue