Commit 3c89adfb31b0afe252f2a26486bb5ef67c74348c

Authored by zhouhaihai
1 parent c047749a

buff 减次数

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/adv/AdvBuff.lua
... ... @@ -378,10 +378,10 @@ function Buff:canEffect(...)
378 378 end
379 379  
380 380 function Buff:effect()
  381 + self:decCount()
381 382 if self._effectValue then
382 383 return self:_effectValue()
383 384 end
384   - self:decCount()
385 385 end
386 386 --删除buff 时调用
387 387 function Buff:endBuff()
... ...