Merge branch 'dev' of git.juzugame.com:b6-client/b6-lua into dev
This commit is contained in:
commit
b7524f89e2
@ -270,6 +270,13 @@ function BattleController:enterAtkStepOver()
|
|||||||
self:enterRefreshBoard()
|
self:enterRefreshBoard()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local atkTeam = self.battleData:getAtkTeam()
|
||||||
|
if not atkTeam or atkTeam:getIsDead() then -- 英雄死了, 直接结算
|
||||||
|
self:enterNextWave()
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
self:enterDefStep()
|
self:enterDefStep()
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -289,6 +296,12 @@ function BattleController:enterDefStepOver()
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local defTeam = self.battleData:getDefTeam()
|
||||||
|
if not defTeam or defTeam:getIsDead() then -- 怪物死了, 直接进入刷新逻辑
|
||||||
|
self:enterRefreshBoard()
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
---- 临时直接调用
|
---- 临时直接调用
|
||||||
self:enterRefreshBoard()
|
self:enterRefreshBoard()
|
||||||
end
|
end
|
||||||
@ -305,6 +318,13 @@ function BattleController:enterRoundEnd()
|
|||||||
self:enterNextWave()
|
self:enterNextWave()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local atkTeam = self.battleData:getAtkTeam()
|
||||||
|
if not atkTeam or atkTeam:getIsDead() then -- 英雄死了, 直接结算
|
||||||
|
self:enterNextWave()
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
self:enterRoundBegin()
|
self:enterRoundBegin()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user