aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index eb20ee91845..aa4ff05828a 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5594,6 +5594,16 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
basepoints0 = damage * triggerAmount / 100;
break;
}
+ // Haunt
+ if (dummySpell->SpellFamilyFlags[1] & 0x40000)
+ {
+ if(!pVictim || !pVictim->isAlive())
+ return false;
+
+ basepoints0 = dummySpell->EffectBasePoints[1];
+ triggered_spell_id = 48210;
+ return true;
+ }
switch(dummySpell->Id)
{
// Nightfall