修改战斗逻辑
This commit is contained in:
parent
e31bdec852
commit
fc39a3487d
@ -70,6 +70,7 @@ function BattleController:findNextDefUnit()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function BattleController:onDefDead()
|
function BattleController:onDefDead()
|
||||||
|
self.defTeam:getMainUnit():playDead()
|
||||||
end
|
end
|
||||||
|
|
||||||
function BattleController:tick(dt)
|
function BattleController:tick(dt)
|
||||||
|
|||||||
@ -154,10 +154,6 @@ function BattleControllerStage:findNextDefUnit()
|
|||||||
self:_stageGenerateNextMonster()
|
self:_stageGenerateNextMonster()
|
||||||
end
|
end
|
||||||
|
|
||||||
function BattleControllerStage:onDefDead()
|
|
||||||
self.defTeam:getMainUnit():playDead()
|
|
||||||
end
|
|
||||||
|
|
||||||
function BattleControllerStage:controllBattleEnd()
|
function BattleControllerStage:controllBattleEnd()
|
||||||
self.combatReport = {
|
self.combatReport = {
|
||||||
battleType = GConst.BattleConst.BATTLE_TYPE.STAGE,
|
battleType = GConst.BattleConst.BATTLE_TYPE.STAGE,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user