From 8035c6c5586afc48c09d4b0e6eb5f825cd804f85 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Mon, 29 Sep 2014 16:16:19 -0400 Subject: [PATCH] Correct "cure blindness" catch --- zone/spell_effects.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index 9373309c1..42a1edb65 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -1267,7 +1267,8 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial) #ifdef SPELL_EFFECT_SPAM snprintf(effect_desc, _EDLEN, "Blind: %+i", effect_value); #endif - if (spells[spell_id].base[i] == 1) + // this should catch the cures + if (BeneficialSpell(spell_id) && spells[spell_id].buffduration == 0) BuffFadeByEffect(SE_Blind); else is_blind = true;