aboutsummaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/game/SpellAuras.cpp18
-rw-r--r--src/game/SpellEffects.cpp11
2 files changed, 2 insertions, 27 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
{
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index d213040ede4..09c596e4979 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1011,17 +1011,6 @@ void Spell::EffectDummy(uint32 i)
m_caster->CastSpell(unitTarget,29294,true);
return;
}
- case 28730: // Arcane Torrent (Mana)
- {
- Aura * dummy = m_caster->GetAura(28734, m_caster->GetGUID());
- if (dummy)
- {
- int32 bp = damage * dummy->GetStackAmount();
- m_caster->CastCustomSpell(m_caster, 28733, &bp, NULL, NULL, true);
- m_caster->RemoveAurasDueToSpell(28734);
- }
- return;
- }
case 29200: // Purify Helboar Meat
{
if( m_caster->GetTypeId() != TYPEID_PLAYER )