*Fix build.
--HG-- branch : trunk
This commit is contained in:
@@ -1970,7 +1970,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
||||
return;
|
||||
}
|
||||
// Haunt
|
||||
if(caster && m_spellProto->SpellFamilyName=SPELLFAMILY_WARLOCK && m_spellProto->SpellFamilyFlags[1] & 0x40000)
|
||||
if(caster && m_spellProto->SpellFamilyName == SPELLFAMILY_WARLOCK && m_spellProto->SpellFamilyFlags[1] & 0x40000)
|
||||
{
|
||||
caster->CastCustomSpell(caster, 48210, &m_currentBasePoints, 0, 0, true);
|
||||
return;
|
||||
|
||||
@@ -437,7 +437,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
|
||||
damage += int32(damage*0.25f);
|
||||
}
|
||||
// Haunt
|
||||
else if (m_spellProto->SpellFamilyFlags[1] & 0x40000)
|
||||
else if (m_spellInfo->SpellFamilyFlags[1] & 0x40000)
|
||||
{
|
||||
// Save damage for future healing
|
||||
// TODO: Implement spell proc on aura expire
|
||||
|
||||
+1
-1
@@ -5545,7 +5545,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
||||
if (triggerAmount == 0)
|
||||
return false;
|
||||
basepoints0 = triggerAmount * GetMaxHealth() / 100;
|
||||
trigger_spell_id = 34299;
|
||||
triggered_spell_id = 34299;
|
||||
}
|
||||
// Healing Touch (Dreamwalker Raiment set)
|
||||
case 28719:
|
||||
|
||||
Reference in New Issue
Block a user