bug修复

This commit is contained in:
xiekaidong 2023-05-29 17:54:02 +08:00
parent 2d605a9a91
commit 34494cdb1f

View File

@ -400,6 +400,9 @@ function BattleTeam:doBuffWork()
buffEffect = nil
for i = count, 1, -1 do
buffEffect = self.buffList[i]
if not buffEffect then
break
end
buffEffect.round = buffEffect.round - 1
BattleBuffHandle.doBuffWork(self.mainUnit, buffEffect)
if buffEffect.round <= 0 then