aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 975e1310c1c..fb7d2c83f1c 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2434,8 +2434,9 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real)
// Haunt
if(m_spellProto->SpellFamilyFlags[1] & 0x40000)
{
+ int32 bp0 = GetParentAura()->GetProcDamage() * m_amount / 100;
if(caster)
- caster->CastCustomSpell(caster, 48210, &m_currentBasePoints, 0, 0, true);
+ caster->CastCustomSpell(caster, 48210, &bp0, 0, 0, true, NULL, this);
return;
}
break;