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:
1 parent
af3ff50ff7
commit
00cb600af0
1 file changed
-4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user