mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(Core/Spells): Killing Spree should not affect invisible units (#7191)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user