*Remove Mana Tap from players and Drop Mana Tap's code. This spell not needed in 3.0.2+
--HG-- branch : trunk
This commit is contained in:
+2
-16
@@ -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
|
||||
{
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user