[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:
1 parent
fdff7330d2
commit
fd3fcb4612
23 files changed
+128
-128
No files matched your search
@@ -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