mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 19:31:59 +01:00
[svn] Remove isVisible function. Check stealth and invisible in canAttack();
Use new remove aura by interrupt flag function. --HG-- branch : trunk
This commit is contained in:
@@ -3477,7 +3477,7 @@ void Spell::EffectPickPocket(uint32 /*i*/)
|
||||
else
|
||||
{
|
||||
// Reveal action + get attack
|
||||
m_caster->RemoveInterruptableAura(AURA_INTERRUPT_FLAG_STEALTH);
|
||||
m_caster->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_STEALTH);
|
||||
if (((Creature*)unitTarget)->AI())
|
||||
((Creature*)unitTarget)->AI()->AttackStart(m_caster);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user