Correct "cure blindness" catch

This commit is contained in:
Michael Cook (mackal) 2014-09-29 16:16:19 -04:00
parent fc1eca0f31
commit 8035c6c558

View File

@ -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;