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