mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
*Fix haunt
--HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user