This commit is contained in:
chenxi 2023-04-21 14:21:54 +08:00
parent 4186ffdb94
commit d3ee3c6799

View File

@ -213,7 +213,7 @@ function BattleTeam:removeAllBuff()
if buffEffect then if buffEffect then
self:updateBuffState(buffEffect.buff, -1) self:updateBuffState(buffEffect.buff, -1)
table.remove(self.buffList, i) table.remove(self.buffList, i)
BattleBuffHandle.removeBuff(self, buffEffect) BattleBuffHandle.removeBuff(self.mainUnit, buffEffect)
end end
end end
self.battleController:clearBuff(self.side) self.battleController:clearBuff(self.side)