反伤bug修复
This commit is contained in:
parent
c950bc52be
commit
189d421c2b
@ -1743,8 +1743,9 @@ function BattleUnitComp:takeDamageOrCure(atker, num, effectType, effectStatus, d
|
||||
team:checkPassiveEvent(BattleConst.PASSIVE_EVENT.ON_DEAD_WITH_BLEED)
|
||||
end
|
||||
|
||||
if self.actionOverCallback then -- 被反击时死亡
|
||||
self:onAttackOver()
|
||||
if self.actionOverCallback then -- 被反伤时死亡
|
||||
self.actionOverCallback = nil
|
||||
self.battleController:enterNextTeamAction()
|
||||
end
|
||||
|
||||
self.battleController:resetTimeSpeed(true)
|
||||
|
||||
@ -597,6 +597,10 @@ function BattleTeam:setIsFinalBlock(isFinalBlock)
|
||||
end
|
||||
|
||||
function BattleTeam:getIsFinalBlock()
|
||||
if self.isFinalBlock == nil then
|
||||
return true
|
||||
end
|
||||
|
||||
return self.isFinalBlock
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user