优化体验

This commit is contained in:
xiekaidong 2023-09-20 10:56:29 +08:00
parent 37a3f3bf25
commit ca0762659b

View File

@ -149,6 +149,14 @@ function BattleControllerDungeonRune:enterRoundBegin()
if self.battleUI.refreshTaskNode then if self.battleUI.refreshTaskNode then
self.battleUI:refreshTaskNode() self.battleUI:refreshTaskNode()
end end
-- 完成任务
local taskOver = self:getRuneTaskAllOver()
if taskOver then
self.victory = true
self:postWaveOver(false)
self:battleEnd()
return
end
if self.dungeonRuneRemainRoundCount <= 0 then if self.dungeonRuneRemainRoundCount <= 0 then
if self.canRebirthTimes > 0 and not self.isBossChapter then if self.canRebirthTimes > 0 and not self.isBossChapter then
ModuleManager.DungeonRuneManager:showRebirthUI(function() ModuleManager.DungeonRuneManager:showRebirthUI(function()