From d707fb13b825bf9f236059c8649efc21e368a54e Mon Sep 17 00:00:00 2001 From: Trust Date: Sun, 22 Jul 2018 16:31:24 -0400 Subject: [PATCH] Changed RezEffect check to dispell_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 7f437854e..748deffe9 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) && !IsResurrectionEffects(buffs[slot].spellid)) + IsDetrimentalSpell(buffs[slot].spellid) && spells[buffs[slot].spellid].dispel_flag) { if (caster && TryDispel(caster->GetLevel(),buffs[slot].casterlevel, effect_value)){ BuffFadeBySlot(slot);