Commit 76dc6fb7f38aaa61a728fa3729760d002c4f4ca9

Authored by zhouhaihai
1 parent 1b20cfdb

bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/adv/AdvPassive.lua
... ... @@ -351,7 +351,7 @@ function Passive:trigger(condType, params) --触发检查
351 351 if math.randomInt(1, 100) > self.passiveData.chance then
352 352 return
353 353 end
354   - if self.round > 0 and self.turn > 0 then -- cd
  354 + if self.round and self.round > 0 then -- cd
355 355 return
356 356 end
357 357 self:effect(params)
... ...