mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Stop NPCs from aggroing each other with buffs/beneficial spells.
This commit is contained in:
parent
7af51ff346
commit
a80eb397d5
@ -1,5 +1,8 @@
|
|||||||
EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
||||||
-------------------------------------------------------
|
-------------------------------------------------------
|
||||||
|
== 03/02/2013 ==
|
||||||
|
af4t: Stop NPCs aggroing each other with buffs/beneficial spells.
|
||||||
|
|
||||||
== 03/2/2013 ==
|
== 03/2/2013 ==
|
||||||
Bad_Captain: Fixed Merc depop bug.
|
Bad_Captain: Fixed Merc depop bug.
|
||||||
Bad_Captain: Added merc rest regen.
|
Bad_Captain: Added merc rest regen.
|
||||||
|
|||||||
@ -3690,6 +3690,9 @@ bool Mob::IsImmuneToSpell(uint16 spell_id, Mob *caster)
|
|||||||
if(!IsValidSpell(spell_id))
|
if(!IsValidSpell(spell_id))
|
||||||
return true;
|
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(IsMezSpell(spell_id))
|
||||||
{
|
{
|
||||||
if(SpecAttacks[UNMEZABLE]) {
|
if(SpecAttacks[UNMEZABLE]) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user