*Fix arcane torrent.
--HG-- branch : trunk
This commit is contained in:
@@ -3363,12 +3363,12 @@ void Aura::HandleAuraModSilence(bool apply, bool Real)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// Search Mana Tap auras on caster
|
// Search Mana Tap auras on caster
|
||||||
Aura * dummy = caster->GetDummyAura(28734);
|
Aura * dummy = m_target->GetDummyAura(28734);
|
||||||
if (dummy)
|
if (dummy)
|
||||||
{
|
{
|
||||||
int32 bp = dummy->m_stackAmount * 10;
|
int32 bp = dummy->GetStackAmount() * 10;
|
||||||
caster->CastCustomSpell(caster, 25048, &bp, NULL, NULL, true);
|
caster->CastCustomSpell(caster, 25048, &bp, NULL, NULL, true);
|
||||||
caster->RemoveAurasDueToSpell(28734);
|
m_target->RemoveAurasDueToSpell(28734);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user