From 7d361cc25c193c2e68a0ae79f369c45ef42e4d77 Mon Sep 17 00:00:00 2001 From: Treeston Date: Sun, 24 Dec 2017 13:54:15 +0100 Subject: [PATCH] Core/Spell: Remove some leftover hack code from ::EffectSanctuary pertaining to vanish. None of this code did anything anymore. # Conflicts: # src/server/game/Spells/SpellEffects.cpp --- src/server/game/Spells/SpellEffects.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index c52ac4311b7..e15f411f73d 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -3460,17 +3460,6 @@ void Spell::EffectSanctuary(SpellEffIndex /*effIndex*/) } unitTarget->m_lastSanctuaryTime = GameTime::GetGameTimeMS(); - - // Vanish allows to remove all threat and cast regular stealth so other spells can be used - if (m_caster->GetTypeId() == TYPEID_PLAYER - && m_spellInfo->SpellFamilyName == SPELLFAMILY_ROGUE - && (m_spellInfo->SpellFamilyFlags[0] & SPELLFAMILYFLAG0_ROGUE_VANISH)) - { - m_caster->ToPlayer()->RemoveAurasByType(SPELL_AURA_MOD_ROOT); - // Overkill - if (m_caster->ToPlayer()->HasSpell(58426)) - m_caster->CastSpell(m_caster, 58427, true); - } } void Spell::EffectAddComboPoints(SpellEffIndex /*effIndex*/)