From 712905d9a1176054e00a51c00aea6df891307d47 Mon Sep 17 00:00:00 2001 From: puxuan <413323644@qq.com> Date: Thu, 6 Nov 2025 20:12:01 +0800 Subject: [PATCH] fix bug --- lua/app/module/formation/formation_manager.lua | 1 + lua/app/ui/company/company_comp.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/app/module/formation/formation_manager.lua b/lua/app/module/formation/formation_manager.lua index 49bfed19..e25d4357 100644 --- a/lua/app/module/formation/formation_manager.lua +++ b/lua/app/module/formation/formation_manager.lua @@ -13,6 +13,7 @@ function FormationManager:upHeroToStageFormationFinish(result) if result.err_code == GConst.ERROR_STR.SUCCESS then DataManager.FormationData:initStage(result.reqData.heroes) DataManager.HeroData:setDirty() + DataManager.HeroData:calcPower() local data = {} data.formation, data.formation_lv, data.formation_atk, data.formation_hp = DataManager.FormationData:getStageFormationBIStr() diff --git a/lua/app/ui/company/company_comp.lua b/lua/app/ui/company/company_comp.lua index 7bf2f01a..7b791cbc 100644 --- a/lua/app/ui/company/company_comp.lua +++ b/lua/app/ui/company/company_comp.lua @@ -21,7 +21,7 @@ end function CompanyComp:refreshRedPoint() if DataManager.TalentData:showRedPoint() then - self.talentBtn:addRedPoint(60, 80, 1) + self.talentBtn:addRedPoint(90, -80, 1) else self.talentBtn:removeRedPoint() end