Merge pull request #27 from af4t/master

Fix NPCs aggro each other from beneficial spells
This commit is contained in:
Alex
2013-03-05 23:06:52 -08:00
2 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -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]) {