Commit 1654ab821827df8142366477e536bda2bba1c927
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 | 252 | end |
253 | 253 | local effect = 0 |
254 | 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 | 256 | local cType, value = buff:effect() |
257 | 257 | if cType and had[cType] then |
258 | 258 | effect = effect + value | ... | ... |