Fixed overkill proc after vanish. by bodompelle

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2009-12-24 12:55:29 +01:00
parent 250a00cc1c
commit 3ab368caa7
+3
View File
@@ -6099,6 +6099,9 @@ void Spell::EffectSanctuary(uint32 /*i*/)
if(m_spellInfo->SpellFamilyName == SPELLFAMILY_ROGUE && (m_spellInfo->SpellFamilyFlags[0] & SPELLFAMILYFLAG_ROGUE_VANISH))
{
((Player *)m_caster)->RemoveAurasByType(SPELL_AURA_MOD_ROOT);
// Overkill
if(((Player*)m_caster)->HasSpell(58426))
m_caster->CastSpell(m_caster, 58427, true);
}
}