diff options
author | megamage <none@none> | 2009-03-05 18:50:26 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-05 18:50:26 -0600 |
commit | bb75a8a21ad3224f95d8710b8b06c4494dd2091d (patch) | |
tree | 055499a57050c5ab10e93e13bebea8ab7541b215 /src/game/SpellAuras.cpp | |
parent | 635faad2bccb05397380737c26d61d71e1a8bcfb (diff) | |
parent | 2f20a832dc1481117e1db9f7d8c5d82886493f18 (diff) |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r-- | src/game/SpellAuras.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 7177c137dd2..a50b1e50498 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1969,6 +1969,12 @@ void Aura::HandleAuraDummy(bool apply, bool Real) m_target->SetReducedThreatPercent(0, 0); return; } + // Haunt + if(caster && m_spellProto->SpellFamilyName=SPELLFAMILY_WARLOCK && m_spellProto->SpellFamilyFlags[1] & 0x40000) + { + caster->CastCustomSpell(caster, 48210, &m_currentBasePoints, 0, 0, true); + return; + } } // AT APPLY & REMOVE @@ -2064,7 +2070,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real) mod->value = m_modifier.m_amount; mod->type = SPELLMOD_PCT; mod->spellId = GetId(); - mod->mask[1] = 0x00000002; + mod->mask[1] = 0x00002000; m_spellmod = mod; } ((Player*)m_target)->AddSpellMod(m_spellmod, apply); |