Commit 85a091632c770b54be0757c59ce64bc6172c84ec
1 parent
9e25c63d
驱散被动
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/adv/AdvPassive.lua
@@ -300,7 +300,7 @@ function Passive:canEffect(effType, effValue) | @@ -300,7 +300,7 @@ function Passive:canEffect(effType, effValue) | ||
300 | return | 300 | return |
301 | end | 301 | end |
302 | --禁用被动技 | 302 | --禁用被动技 |
303 | - if self.owner:getPassiveIdx(self) <= self.owner:getDisablePassiveCount() then | 303 | + if self.owner:getDisablePassiveCount() == 0 or self.owner:getPassiveIdx(self) <= self.owner:getDisablePassiveCount() then |
304 | return | 304 | return |
305 | end | 305 | end |
306 | return true | 306 | return true |