mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +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
|
#endif
|
||||||
if (spells[spell_id].base[i] == 1)
|
if (spells[spell_id].base[i] == 1)
|
||||||
BuffFadeByEffect(SE_Blind);
|
BuffFadeByEffect(SE_Blind);
|
||||||
|
else
|
||||||
// For spells like flash-of-light
|
|
||||||
if (IsDetrimentalSpell(spell_id))
|
|
||||||
is_blind = true;
|
is_blind = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user