From ca0762659b33f8bb7b2d330d0420ac2b79086dbe Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Wed, 20 Sep 2023 10:56:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../battle/controller/battle_controller_dungeon_rune.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/app/module/battle/controller/battle_controller_dungeon_rune.lua b/lua/app/module/battle/controller/battle_controller_dungeon_rune.lua index be1b859b..214d05c0 100644 --- a/lua/app/module/battle/controller/battle_controller_dungeon_rune.lua +++ b/lua/app/module/battle/controller/battle_controller_dungeon_rune.lua @@ -149,6 +149,14 @@ function BattleControllerDungeonRune:enterRoundBegin() if self.battleUI.refreshTaskNode then self.battleUI:refreshTaskNode() 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.canRebirthTimes > 0 and not self.isBossChapter then ModuleManager.DungeonRuneManager:showRebirthUI(function()