fix(Core/Spells): Killing Spree should not affect invisible units (#7191)
This commit is contained in:
parent
1cd3af96b3
commit
31e41890e3
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ public:
|
|||
if (Unit* target = ObjectAccessor::GetUnit(*GetTarget(), guid))
|
||||
{
|
||||
// xinef: target may be no longer valid
|
||||
if (!GetTarget()->IsValidAttackTarget(target))
|
||||
if (!GetTarget()->IsValidAttackTarget(target) || target->HasStealthAura() || target->HasInvisibilityAura())
|
||||
{
|
||||
_targets.remove(guid);
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue