This commit is contained in:
puxuan 2025-11-06 20:12:01 +08:00
parent 2e15e45ae0
commit 712905d9a1
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ function FormationManager:upHeroToStageFormationFinish(result)
if result.err_code == GConst.ERROR_STR.SUCCESS then if result.err_code == GConst.ERROR_STR.SUCCESS then
DataManager.FormationData:initStage(result.reqData.heroes) DataManager.FormationData:initStage(result.reqData.heroes)
DataManager.HeroData:setDirty() DataManager.HeroData:setDirty()
DataManager.HeroData:calcPower()
local data = {} local data = {}
data.formation, data.formation_lv, data.formation_atk, data.formation_hp = DataManager.FormationData:getStageFormationBIStr() data.formation, data.formation_lv, data.formation_atk, data.formation_hp = DataManager.FormationData:getStageFormationBIStr()

View File

@ -21,7 +21,7 @@ end
function CompanyComp:refreshRedPoint() function CompanyComp:refreshRedPoint()
if DataManager.TalentData:showRedPoint() then if DataManager.TalentData:showRedPoint() then
self.talentBtn:addRedPoint(60, 80, 1) self.talentBtn:addRedPoint(90, -80, 1)
else else
self.talentBtn:removeRedPoint() self.talentBtn:removeRedPoint()
end end