*Fix reward rep amount- by yad02

*Fix Haunt and Pain and Suffering- by Fog
*Fix leader of the pack-original patch by Lightguard

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-03-05 20:47:18 +01:00
1 parent ae55745f2a
commit 2f20a832dc
5 files changed
+33 -11

No files matched your search

+7
View File
@@ -436,6 +436,13 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
if(unitTarget->HasAuraState(AURA_STATE_IMMOLATE))
damage += int32(damage*0.25f);
}
// Haunt
else if (m_spellProto->SpellFamilyFlags[1] & 0x40000)
{
// Save damage for future healing
// TODO: Implement spell proc on aura expire
m_currentBasePoints[1] = int32(damage * m_currentBasePoints[1] / 100);
}
// Conflagrate - consumes immolate
if (m_spellInfo->TargetAuraState == AURA_STATE_IMMOLATE)