This commit is contained in:
puxuan 2025-09-03 19:58:00 +08:00
parent c50029683c
commit 3e91ceadfc

View File

@ -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
-- 设置是否展示红点