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