Commit 76dc6fb7f38aaa61a728fa3729760d002c4f4ca9
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,7 +351,7 @@ function Passive:trigger(condType, params) --触发检查 | ||
351 | if math.randomInt(1, 100) > self.passiveData.chance then | 351 | if math.randomInt(1, 100) > self.passiveData.chance then |
352 | return | 352 | return |
353 | end | 353 | end |
354 | - if self.round > 0 and self.turn > 0 then -- cd | 354 | + if self.round and self.round > 0 then -- cd |
355 | return | 355 | return |
356 | end | 356 | end |
357 | self:effect(params) | 357 | self:effect(params) |