mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
is_blind works better as an else to the line that handles cure
This commit is contained in:
parent
05ed577e23
commit
d2acd0505c
@ -1267,9 +1267,7 @@ 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))
|
||||
else
|
||||
is_blind = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user