aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}
}
}