From 83f60be44350c47ecd47ebac77ccd4a7832d3751 Mon Sep 17 00:00:00 2001 From: puxuan <413323644@qq.com> Date: Tue, 11 Nov 2025 17:55:19 +0800 Subject: [PATCH] fix bug --- .../battle/controller/battle_controller_dungeon_gold.lua | 4 ++-- lua/app/ui/battle/battle_result_ui.lua | 2 +- lua/app/ui/battle/battle_rune_result_ui.lua | 2 +- lua/app/ui/battle/battle_ui_pvp.lua | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/app/module/battle/controller/battle_controller_dungeon_gold.lua b/lua/app/module/battle/controller/battle_controller_dungeon_gold.lua index b398c2cb..e0014ef9 100644 --- a/lua/app/module/battle/controller/battle_controller_dungeon_gold.lua +++ b/lua/app/module/battle/controller/battle_controller_dungeon_gold.lua @@ -55,7 +55,7 @@ function BattleControllerDungeonGold:enterRoundBegin(...) end end if self.battleUI then - self.battleUI:refreshWave(self.dungeonGoldMaxRoundCount - nextWaveRound + 1, GConst.ATLAS_PATH.BATTLE, "battle_dec_2") + self.battleUI:refreshWave(self.dungeonGoldMaxRoundCount - nextWaveRound + 1, GConst.ATLAS_PATH.BATTLE, "battle_dec_4") end BattleController.enterRoundBegin(self, ...) end @@ -65,7 +65,7 @@ function BattleControllerDungeonGold:initOther() self.dungeonGoldMaxRoundCount = self:getChapterConfig()[self.chapterId].wave_limit or 1 if self.battleUI then - self.battleUI:refreshWave(self.dungeonGoldMaxRoundCount, GConst.ATLAS_PATH.BATTLE, "battle_dec_2") + self.battleUI:refreshWave(self.dungeonGoldMaxRoundCount, GConst.ATLAS_PATH.BATTLE, "battle_dec_4") end end diff --git a/lua/app/ui/battle/battle_result_ui.lua b/lua/app/ui/battle/battle_result_ui.lua index 294a3cac..55b73dfb 100644 --- a/lua/app/ui/battle/battle_result_ui.lua +++ b/lua/app/ui/battle/battle_result_ui.lua @@ -452,7 +452,7 @@ function BattleResultUI:refreshUnitInfo() local iconName = "battle_dec_1" if self.battleType == GConst.BattleConst.BATTLE_TYPE.DUNGEON_GOLD then - iconName = "battle_dec_2" + iconName = "battle_dec_4" local round = self.remainRound or 0 self.unitTxDesc2:setText(round) self.unitTxDesc1:setText(I18N:getGlobalText(I18N.GlobalConst.ROUND_LEFT)) diff --git a/lua/app/ui/battle/battle_rune_result_ui.lua b/lua/app/ui/battle/battle_rune_result_ui.lua index 4f576709..d1dc97aa 100644 --- a/lua/app/ui/battle/battle_rune_result_ui.lua +++ b/lua/app/ui/battle/battle_rune_result_ui.lua @@ -306,7 +306,7 @@ function BattleRuneResultUI:refreshUnitInfo() self.unitTxDesc2:setText(self.wave) self.unitTxDesc3:setText(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_7, GFunc.num2Str(self.totalDmg))) - local iconName = "battle_dec_2" + local iconName = "battle_dec_4" local round = self.remainRound or 0 self.unitTxDesc2:setText(round) self.unitTxDesc1:setText(I18N:getGlobalText(I18N.GlobalConst.ROUND_LEFT)) diff --git a/lua/app/ui/battle/battle_ui_pvp.lua b/lua/app/ui/battle/battle_ui_pvp.lua index 1862fa21..71a848e9 100644 --- a/lua/app/ui/battle/battle_ui_pvp.lua +++ b/lua/app/ui/battle/battle_ui_pvp.lua @@ -264,7 +264,7 @@ function BattleUIPVP:refreshWave(wave, iconAtlas, iconName) -- GFunc.centerImgAndTx(icon, desc, 10) iconAtlas = iconAtlas or GConst.ATLAS_PATH.BATTLE - iconName = iconName or "battle_dec_2" + iconName = iconName or "battle_dec_4" icon:setSprite(iconAtlas, iconName) end