bug修复
This commit is contained in:
parent
db2c3938f1
commit
738a57f9f4
@ -409,6 +409,9 @@ function BattleTeam:doBuffWork()
|
|||||||
target = buffEffect.target
|
target = buffEffect.target
|
||||||
end
|
end
|
||||||
BattleBuffHandle.doBuffWork(target, buffEffect)
|
BattleBuffHandle.doBuffWork(target, buffEffect)
|
||||||
|
if not self.buffList[i] then -- dot伤害致死后,buff已经全部移除
|
||||||
|
break
|
||||||
|
end
|
||||||
if buffEffect.round <= 0 then
|
if buffEffect.round <= 0 then
|
||||||
self:updateBuffState(buffEffect.buff, -1)
|
self:updateBuffState(buffEffect.buff, -1)
|
||||||
table.remove(self.buffList, i)
|
table.remove(self.buffList, i)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user