bug修复
This commit is contained in:
parent
2d605a9a91
commit
34494cdb1f
@ -400,6 +400,9 @@ function BattleTeam:doBuffWork()
|
|||||||
buffEffect = nil
|
buffEffect = nil
|
||||||
for i = count, 1, -1 do
|
for i = count, 1, -1 do
|
||||||
buffEffect = self.buffList[i]
|
buffEffect = self.buffList[i]
|
||||||
|
if not buffEffect then
|
||||||
|
break
|
||||||
|
end
|
||||||
buffEffect.round = buffEffect.round - 1
|
buffEffect.round = buffEffect.round - 1
|
||||||
BattleBuffHandle.doBuffWork(self.mainUnit, buffEffect)
|
BattleBuffHandle.doBuffWork(self.mainUnit, buffEffect)
|
||||||
if buffEffect.round <= 0 then
|
if buffEffect.round <= 0 then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user