*Fix haunt

--HG--
branch : trunk
This commit is contained in:
Blaymoira
2009-03-14 22:50:37 +01:00
parent 05c7639e7b
commit 596488d05e
4 changed files with 16 additions and 3 deletions

View File

@@ -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