aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-24 12:55:29 +0100
committern0n4m3 <none@none>2009-12-24 12:55:29 +0100
commit3ab368caa7680b022972e01fdc8968b284cb7788 (patch)
treed79a22a6aba45db50348be6fb901c8cba414f342 /src/game/SpellEffects.cpp
parent250a00cc1c91d2df2b6c4f72a2ad322b46fed783 (diff)
Fixed overkill proc after vanish. by bodompelle
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index f535033b0e6..458bf968312 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -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);
}
}