选择技能时机调整
This commit is contained in:
parent
293facc310
commit
80e06bcef5
@ -371,7 +371,12 @@ function BattleController:enterRoundEnd()
|
||||
end
|
||||
self.atkTeam:onRoundEnd()
|
||||
self.defTeam:onRoundEnd()
|
||||
|
||||
if self.battleData:useAddlvCount() then
|
||||
ModuleManager.BattleManager:showSelectSkillUI(self:getRandomSkillList())
|
||||
else
|
||||
self:enterRoundBegin()
|
||||
end
|
||||
end
|
||||
|
||||
---- end回合步骤
|
||||
@ -648,10 +653,6 @@ function BattleController:fillBoard()
|
||||
self.battleUI:fallGrid(pathMap, function()
|
||||
self:onFillBoardOver()
|
||||
self.battleUI:enableUITouch()
|
||||
|
||||
if self.battleData:useAddlvCount() then
|
||||
ModuleManager.BattleManager:showSelectSkillUI(self:getRandomSkillList())
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
@ -1158,7 +1159,10 @@ function BattleController:onSelectSkill(skillId)
|
||||
|
||||
if self.battleData:useAddlvCount() then
|
||||
ModuleManager.BattleManager:showSelectSkillUI(self:getRandomSkillList())
|
||||
else
|
||||
self:enterRoundBegin()
|
||||
end
|
||||
|
||||
if self.battleUI then
|
||||
self.battleUI:refreshBoard()
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user