mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 14:57:18 +00:00
Stop NPCs from aggroing each other with buffs/beneficial spells.
This commit is contained in:
1 parent
7af51ff346
commit
a80eb397d5
2 files changed
+7
-1
No files matched your search
+4
-1
@@ -3689,7 +3689,10 @@ bool Mob::IsImmuneToSpell(uint16 spell_id, Mob *caster)
|
||||
|
||||
if(!IsValidSpell(spell_id))
|
||||
return true;
|
||||
|
||||
|
||||
if(IsBeneficialSpell(spell_id) && (caster->GetNPCTypeID())) //then skip the rest, stop NPCs aggroing each other with buff spells. 2013-03-05
|
||||
return false;
|
||||
|
||||
if(IsMezSpell(spell_id))
|
||||
{
|
||||
if(SpecAttacks[UNMEZABLE]) {
|
||||
|
||||
Reference in new issue
Block a user