bug修复

This commit is contained in:
xiekaidong 2023-06-02 11:53:55 +08:00
parent db2c3938f1
commit 738a57f9f4

View File

@ -409,6 +409,9 @@ function BattleTeam:doBuffWork()
target = buffEffect.target
end
BattleBuffHandle.doBuffWork(target, buffEffect)
if not self.buffList[i] then -- dot伤害致死后buff已经全部移除
break
end
if buffEffect.round <= 0 then
self:updateBuffState(buffEffect.buff, -1)
table.remove(self.buffList, i)