aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-17 21:39:39 -0600
committermegamage <none@none>2008-12-17 21:39:39 -0600
commit76a044e8090bb63ed5fd4e599b0484b9c1cd7e15 (patch)
treec3794c9ad5f52bdf4f3315ffd8075d86930e7b72
parentac5bf63acdea0f1bc10700e6735cbcb8caf5def2 (diff)
*Fix arcane torrent.
--HG-- branch : trunk
-rw-r--r--src/game/SpellAuras.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 59ff039cbc9..a6667c10c78 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -3363,12 +3363,12 @@ void Aura::HandleAuraModSilence(bool apply, bool Real)
return;
// Search Mana Tap auras on caster
- Aura * dummy = caster->GetDummyAura(28734);
+ Aura * dummy = m_target->GetDummyAura(28734);
if (dummy)
{
- int32 bp = dummy->m_stackAmount * 10;
+ int32 bp = dummy->GetStackAmount() * 10;
caster->CastCustomSpell(caster, 25048, &bp, NULL, NULL, true);
- caster->RemoveAurasDueToSpell(28734);
+ m_target->RemoveAurasDueToSpell(28734);
}
}
}