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