diff --git a/lua/app/module/battle/controller/battle_base_controller.lua b/lua/app/module/battle/controller/battle_base_controller.lua index d79f4ce9..05516e43 100644 --- a/lua/app/module/battle/controller/battle_base_controller.lua +++ b/lua/app/module/battle/controller/battle_base_controller.lua @@ -3278,7 +3278,6 @@ function BattleBaseController:_tick(dt, originDt) self.waveDurationTime = self.waveDurationTime + originDt self.totalDurationTime = self.totalDurationTime + originDt if self.isPause then - self:hideTutorialBoard() return end self.tutorialTime = self.tutorialTime + dt diff --git a/lua/app/module/battle/controller/battle_controller_stage.lua b/lua/app/module/battle/controller/battle_controller_stage.lua index 65d28dc9..1b196693 100644 --- a/lua/app/module/battle/controller/battle_controller_stage.lua +++ b/lua/app/module/battle/controller/battle_controller_stage.lua @@ -136,10 +136,6 @@ function BattleControllerStage:postFightStart() end --@region 消除提示 -function BattleControllerStage:getAtkMinRow() - return GConst.BattleConst.COLUMN_COUNT -end - function BattleControllerStage:setCheckTutorial(tutorial) self.needCheckTutorial = tutorial end @@ -151,7 +147,7 @@ function BattleControllerStage:checkTutorialBoard() end if DataManager.TutorialData:getIsInTutorial() then return - end + end local time = math.floor(self.tutorialTime) if time == 0 or time %3 ~= 0 then return @@ -162,7 +158,7 @@ function BattleControllerStage:checkTutorialBoard() for _, v in pairs(members) do elementTypeCoefficient[v:getMatchType()] = v:getAtk() end - local path = BoardHeler:findPvpLinkOptimalSolution(self, 1, self:getAtkMinRow(), elementTypeCoefficient, self:getMinEliminationCount()) + local path = BoardHeler:findPvpLinkOptimalSolution(self, 1, GConst.BattleConst.ROW_COUNT, elementTypeCoefficient, self:getMinEliminationCount()) if path and #path >= self:getMinEliminationCount() then self.tutorialPath = path for _, posId in ipairs(path) do