fix bug
This commit is contained in:
parent
01f84354fb
commit
19695b074f
@ -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
|
||||
|
||||
@ -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
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user