From d4558b4664dae780f453ce1b8836e28d1c80cad7 Mon Sep 17 00:00:00 2001 From: Trust Date: Sun, 22 Jul 2018 16:32:53 -0400 Subject: [PATCH] Forgot to have the comparison flag --- zone/spell_effects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index 748deffe9..e7d182105 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -1130,7 +1130,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove int buff_count = GetMaxTotalSlots(); for(int slot = 0; slot < buff_count; slot++) { if (buffs[slot].spellid != SPELL_UNKNOWN && - IsDetrimentalSpell(buffs[slot].spellid) && spells[buffs[slot].spellid].dispel_flag) + IsDetrimentalSpell(buffs[slot].spellid) && spells[buffs[slot].spellid].dispel_flag == 0) { if (caster && TryDispel(caster->GetLevel(),buffs[slot].casterlevel, effect_value)){ BuffFadeBySlot(slot);