fix bug
This commit is contained in:
parent
c50029683c
commit
3e91ceadfc
@ -109,11 +109,11 @@ function HeroCell:refreshRedPoint()
|
||||
return
|
||||
end
|
||||
|
||||
if not self.notShowRedPoint and DataManager.FormationData:heroInFormation(GConst.BattleConst.FORMATION_TYPE.STAGE, self.heroEntity:getCfgId()) and self.heroEntity:showRedPointEntrance() then
|
||||
self.selfNode:addRedPoint(55, -35, 1)
|
||||
else
|
||||
self.selfNode:removeRedPoint()
|
||||
end
|
||||
-- if not self.notShowRedPoint and DataManager.FormationData:heroInFormation(GConst.BattleConst.FORMATION_TYPE.STAGE, self.heroEntity:getCfgId()) and self.heroEntity:showRedPointEntrance() then
|
||||
-- self.selfNode:addRedPoint(59, -47, 1)
|
||||
-- else
|
||||
-- self.selfNode:removeRedPoint()
|
||||
-- end
|
||||
end
|
||||
|
||||
-- 设置是否展示红点
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user