Fixed issue where blind flag was set for beneficial spells like cure.wq

This commit is contained in:
Paul Coene 2014-09-27 17:17:12 -04:00
parent 73a23e9f9d
commit 05ed577e23

View File

@ -1267,6 +1267,9 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
#endif
if (spells[spell_id].base[i] == 1)
BuffFadeByEffect(SE_Blind);
// For spells like flash-of-light
if (IsDetrimentalSpell(spell_id))
is_blind = true;
break;
}