Core/Auras: Implemented using all aura interrupt flag fields
This commit is contained in:
@@ -381,7 +381,7 @@ namespace Game.Combat
|
||||
Contract.Assert(target); // if the ref has status online the target must be there !
|
||||
|
||||
// some units are prefered in comparison to others
|
||||
if (!noPriorityTargetFound && (target.IsImmunedToDamage(attacker.GetMeleeDamageSchoolMask()) || target.HasNegativeAuraWithInterruptFlag((uint)SpellAuraInterruptFlags.TakeDamage)))
|
||||
if (!noPriorityTargetFound && (target.IsImmunedToDamage(attacker.GetMeleeDamageSchoolMask()) || target.HasNegativeAuraWithInterruptFlag(SpellAuraInterruptFlags.TakeDamage)))
|
||||
{
|
||||
if (i != threatList.Count - 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user