Commit 8dc7d93ad92ebc82f4b738aede7902da2f7b884d
Merge branch 'bugfix' of 120.26.43.151:wasteland/server into bugfix
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 |