Core/Units: SPELL_AURA_MOD_UNATTACKABLE will no longer get removed when the target of the aura starts attacking a target

This commit is contained in:
Ovahlord committed 2019-07-19 17:33:14 +02:00
1 parent af3ff50ff7
commit 00cb600af0
1 file changed
-4
-4
View File
@@ -5683,10 +5683,6 @@ bool Unit::Attack(Unit* victim, bool meleeAttack)
return false;
}
// remove SPELL_AURA_MOD_UNATTACKABLE at attack (in case non-interruptible spells stun aura applied also that not let attack)
if (HasAuraType(SPELL_AURA_MOD_UNATTACKABLE))
RemoveAurasByType(SPELL_AURA_MOD_UNATTACKABLE);
if (m_attacking)
{
if (m_attacking == victim)