This commit is contained in:
puxuan 2025-11-10 17:13:04 +08:00
parent 01f84354fb
commit 19695b074f
2 changed files with 2 additions and 7 deletions

View File

@ -3278,7 +3278,6 @@ function BattleBaseController:_tick(dt, originDt)
self.waveDurationTime = self.waveDurationTime + originDt self.waveDurationTime = self.waveDurationTime + originDt
self.totalDurationTime = self.totalDurationTime + originDt self.totalDurationTime = self.totalDurationTime + originDt
if self.isPause then if self.isPause then
self:hideTutorialBoard()
return return
end end
self.tutorialTime = self.tutorialTime + dt self.tutorialTime = self.tutorialTime + dt

View File

@ -136,10 +136,6 @@ function BattleControllerStage:postFightStart()
end end
--@region 消除提示 --@region 消除提示
function BattleControllerStage:getAtkMinRow()
return GConst.BattleConst.COLUMN_COUNT
end
function BattleControllerStage:setCheckTutorial(tutorial) function BattleControllerStage:setCheckTutorial(tutorial)
self.needCheckTutorial = tutorial self.needCheckTutorial = tutorial
end end
@ -151,7 +147,7 @@ function BattleControllerStage:checkTutorialBoard()
end end
if DataManager.TutorialData:getIsInTutorial() then if DataManager.TutorialData:getIsInTutorial() then
return return
end end
local time = math.floor(self.tutorialTime) local time = math.floor(self.tutorialTime)
if time == 0 or time %3 ~= 0 then if time == 0 or time %3 ~= 0 then
return return
@ -162,7 +158,7 @@ function BattleControllerStage:checkTutorialBoard()
for _, v in pairs(members) do for _, v in pairs(members) do
elementTypeCoefficient[v:getMatchType()] = v:getAtk() elementTypeCoefficient[v:getMatchType()] = v:getAtk()
end 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 if path and #path >= self:getMinEliminationCount() then
self.tutorialPath = path self.tutorialPath = path
for _, posId in ipairs(path) do for _, posId in ipairs(path) do