mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Fixed issue where blind flag was set for beneficial spells like cure.wq
This commit is contained in:
parent
73a23e9f9d
commit
05ed577e23
@ -1267,7 +1267,10 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
|
|||||||
#endif
|
#endif
|
||||||
if (spells[spell_id].base[i] == 1)
|
if (spells[spell_id].base[i] == 1)
|
||||||
BuffFadeByEffect(SE_Blind);
|
BuffFadeByEffect(SE_Blind);
|
||||||
is_blind = true;
|
|
||||||
|
// For spells like flash-of-light
|
||||||
|
if (IsDetrimentalSpell(spell_id))
|
||||||
|
is_blind = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user