mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-20 00:51:28 +00:00
Fix missing paren.
This commit is contained in:
parent
4d9d50c9ac
commit
e4108d089f
@ -791,7 +791,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
|
|||||||
// Ignore if spell is beneficial (ex. Harvest)
|
// Ignore if spell is beneficial (ex. Harvest)
|
||||||
if (IsDetrimentalSpell(spell.id) && (GetSpecialAbility(UNSTUNABLE) ||
|
if (IsDetrimentalSpell(spell.id) && (GetSpecialAbility(UNSTUNABLE) ||
|
||||||
((GetLevel() > max_level) && caster && (!caster->IsNPC() ||
|
((GetLevel() > max_level) && caster && (!caster->IsNPC() ||
|
||||||
(caster->IsNPC() && !RuleB(Spells, NPCIgnoreBaseImmunity)))))
|
(caster->IsNPC() && !RuleB(Spells, NPCIgnoreBaseImmunity))))))
|
||||||
{
|
{
|
||||||
caster->Message_StringID(MT_SpellFailure, IMMUNE_STUN);
|
caster->Message_StringID(MT_SpellFailure, IMMUNE_STUN);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user