Commit 46eaa47a5ea26961dbf69dee488912f6dd90b16e

Authored by zhouhaihai
1 parent 9c8e9482

bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/adv/AdvPassive.lua
@@ -334,7 +334,7 @@ function Passive:effect(triggerPms) @@ -334,7 +334,7 @@ function Passive:effect(triggerPms)
334 end 334 end
335 335
336 function Passive:afterRound() 336 function Passive:afterRound()
337 - if self.isDel or self.owner.isDead or self.owner.lock or self:isHide() then return end 337 + if self.isDel or self.owner.isDead or self.owner.lock or not self:isHide() then return end
338 if self.round > 0 then --回合触发的 338 if self.round > 0 then --回合触发的
339 self.round = self.round - 1 339 self.round = self.round - 1
340 end 340 end