Skip to content

Commit

Permalink
Misdirection should be removed from target on caster version removal
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Oct 16, 2017
1 parent 9fa7961 commit 084748a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/game/Spells/SpellAuras.cpp
Expand Up @@ -3367,7 +3367,11 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
{
// used for direct in code aura removes and spell proc event charges expire
if (m_removeMode != AURA_REMOVE_BY_DEFAULT)
{
if (Unit* misdirectTarget = target->getHostileRefManager().GetThreatRedirectionTarget())
misdirectTarget->RemoveAurasDueToSpell(35079);
target->getHostileRefManager().ResetThreatRedirection();
}
}
return;
}
Expand Down

0 comments on commit 084748a

Please sign in to comment.