This commit is contained in:
puxuan 2025-11-11 17:55:19 +08:00
parent 3fd7641d12
commit 83f60be443
4 changed files with 5 additions and 5 deletions

View File

@ -55,7 +55,7 @@ function BattleControllerDungeonGold:enterRoundBegin(...)
end end
end end
if self.battleUI then 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 end
BattleController.enterRoundBegin(self, ...) BattleController.enterRoundBegin(self, ...)
end end
@ -65,7 +65,7 @@ function BattleControllerDungeonGold:initOther()
self.dungeonGoldMaxRoundCount = self:getChapterConfig()[self.chapterId].wave_limit or 1 self.dungeonGoldMaxRoundCount = self:getChapterConfig()[self.chapterId].wave_limit or 1
if self.battleUI then 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
end end

View File

@ -452,7 +452,7 @@ function BattleResultUI:refreshUnitInfo()
local iconName = "battle_dec_1" local iconName = "battle_dec_1"
if self.battleType == GConst.BattleConst.BATTLE_TYPE.DUNGEON_GOLD then if self.battleType == GConst.BattleConst.BATTLE_TYPE.DUNGEON_GOLD then
iconName = "battle_dec_2" iconName = "battle_dec_4"
local round = self.remainRound or 0 local round = self.remainRound or 0
self.unitTxDesc2:setText(round) self.unitTxDesc2:setText(round)
self.unitTxDesc1:setText(I18N:getGlobalText(I18N.GlobalConst.ROUND_LEFT)) self.unitTxDesc1:setText(I18N:getGlobalText(I18N.GlobalConst.ROUND_LEFT))

View File

@ -306,7 +306,7 @@ function BattleRuneResultUI:refreshUnitInfo()
self.unitTxDesc2:setText(self.wave) self.unitTxDesc2:setText(self.wave)
self.unitTxDesc3:setText(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_7, GFunc.num2Str(self.totalDmg))) 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 local round = self.remainRound or 0
self.unitTxDesc2:setText(round) self.unitTxDesc2:setText(round)
self.unitTxDesc1:setText(I18N:getGlobalText(I18N.GlobalConst.ROUND_LEFT)) self.unitTxDesc1:setText(I18N:getGlobalText(I18N.GlobalConst.ROUND_LEFT))

View File

@ -264,7 +264,7 @@ function BattleUIPVP:refreshWave(wave, iconAtlas, iconName)
-- GFunc.centerImgAndTx(icon, desc, 10) -- GFunc.centerImgAndTx(icon, desc, 10)
iconAtlas = iconAtlas or GConst.ATLAS_PATH.BATTLE iconAtlas = iconAtlas or GConst.ATLAS_PATH.BATTLE
iconName = iconName or "battle_dec_2" iconName = iconName or "battle_dec_4"
icon:setSprite(iconAtlas, iconName) icon:setSprite(iconAtlas, iconName)
end end