aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorAnubisss <none@none>2009-05-10 21:03:25 +0200
committerAnubisss <none@none>2009-05-10 21:03:25 +0200
commit6f87cf18b4962c37bff2366d8442568d96ec41d4 (patch)
tree81c1afd571f620cacaa5fbb5817571460af485cf /src/game/SpellAuras.cpp
parentc153f7f272d574cf72c7c96825db19973655d209 (diff)
*Remove Mana Tap from players and Drop Mana Tap's code. This spell not needed in 3.0.2+
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 3045e89f315..fa0360eadf1 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -3880,25 +3880,11 @@ void AuraEffect::HandleAuraModSilence(bool apply, bool Real)
if (m_target->m_currentSpells[i] && m_target->m_currentSpells[i]->m_spellInfo->PreventionType == SPELL_PREVENTION_TYPE_SILENCE)
m_target->InterruptSpell(i,false); // Stop spells on prepare or casting state
+ /*
switch (GetId())
{
- // Arcane Torrent (Energy)
- case 25046:
- {
- Unit * caster = GetCaster();
- if (!caster)
- return;
-
- // Search Mana Tap auras on caster
- AuraEffect * dummy = caster->GetDummyAura(28734);
- if (dummy)
- {
- int32 bp = dummy->GetParentAura()->GetStackAmount() * 10;
- caster->CastCustomSpell(caster, 25048, &bp, NULL, NULL, true);
- m_target->RemoveAurasDueToSpell(28734);
- }
- }
}
+ */
}
else
{