Resisted pickpocket attempts now send the appropriate resist message. Closes #4

This commit is contained in:
hates_sundays 2017-01-28 20:55:51 +00:00 committed by Antz
parent 755e602821
commit fbbc0a72e5

View File

@ -2516,6 +2516,7 @@ void Spell::EffectPickPocket(SpellEffectIndex /*eff_idx*/)
else
{
// Reveal action + get attack
m_caster->SendSpellMiss(unitTarget, m_spellInfo->Id, SPELL_MISS_RESIST); // Pickpocket resisted.
m_caster->RemoveSpellsCausingAura(SPELL_AURA_MOD_STEALTH);
unitTarget->AttackedBy(m_caster);
}