Commit 22288eb6d14278f5fa1ba3ed9a24a8def7de957c

Authored by zhouhaihai
1 parent fe296849

bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/adv/AdvPlayer.lua
... ... @@ -144,7 +144,7 @@ function BaseObject:getDisablePassiveCount()
144 144 end
145 145  
146 146 function BaseObject:getDisableAuraCount()
147   - local count
  147 + local count = 0
148 148 for _, buff in ipairs(self.buffs) do
149 149 if not buff:isHide() and buff:getType() == Buff.DISABLE_AURA then
150 150 if buff:effect() == 0 then
... ...