Commit f7b71a6b75e8fbd1fa8f06d24bf70245419db351

Authored by zhouhaihai
1 parent cbefef4c

少了初始值

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
... ...