diff options
author | megamage <none@none> | 2009-05-10 14:58:28 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-10 14:58:28 -0500 |
commit | bcb2368faff8f3b72e181421f8fcb6a5663e04b8 (patch) | |
tree | 18e3b33e0a2e1dba53af4954459f9aefe6c8c0df /src | |
parent | ff3332f0661e0f19a2afa34a96997066bf99cc8a (diff) | |
parent | 6f87cf18b4962c37bff2366d8442568d96ec41d4 (diff) |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 18 | ||||
-rw-r--r-- | src/game/SpellEffects.cpp | 11 |
2 files changed, 2 insertions, 27 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 3e9c3a922f2..c950371e517 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3861,25 +3861,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 ae513a84dfd..eeeeb478ca1 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 ) |