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 return
end end
if not self.notShowRedPoint and DataManager.FormationData:heroInFormation(GConst.BattleConst.FORMATION_TYPE.STAGE, self.heroEntity:getCfgId()) and self.heroEntity:showRedPointEntrance() then -- 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) -- self.selfNode:addRedPoint(59, -47, 1)
else -- else
self.selfNode:removeRedPoint() -- self.selfNode:removeRedPoint()
end -- end
end end
-- 设置是否展示红点 -- 设置是否展示红点