Commit 1654ab821827df8142366477e536bda2bba1c927

Authored by zhouhaihai
1 parent 4fa29210

bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/adv/AdvPlayer.lua
@@ -252,7 +252,7 @@ function BaseObject:getBuffEffectChange(classify) @@ -252,7 +252,7 @@ function BaseObject:getBuffEffectChange(classify)
252 end 252 end
253 local effect = 0 253 local effect = 0
254 for _, buff in ipairs(self.buffs) do 254 for _, buff in ipairs(self.buffs) do
255 - if not buff.isDel and buff:getType() == Buff_EFFECT_CHANGE then 255 + if not buff.isDel and buff:getType() == Buff.Buff_EFFECT_CHANGE then
256 local cType, value = buff:effect() 256 local cType, value = buff:effect()
257 if cType and had[cType] then 257 if cType and had[cType] then
258 effect = effect + value 258 effect = effect + value