Core/Spells: Fix Pain and Suffering reduces damage

This commit is contained in:
Vincent-Michael
2012-07-11 17:34:03 +02:00
parent 450f9e7d99
commit 968a8e8ee8
4 changed files with 40 additions and 29 deletions
@@ -858,21 +858,6 @@ void AuraEffect::CalculateSpellMod()
case SPELL_AURA_DUMMY:
switch (GetSpellInfo()->SpellFamilyName)
{
case SPELLFAMILY_PRIEST:
// Pain and Suffering
if (m_spellInfo->SpellIconID == 2874)
{
if (!m_spellmod)
{
m_spellmod = new SpellModifier(GetBase());
m_spellmod->op = SPELLMOD_DOT;
m_spellmod->type = SPELLMOD_PCT;
m_spellmod->spellId = GetId();
m_spellmod->mask[1] = 0x00002000;
}
m_spellmod->value = GetAmount();
}
break;
case SPELLFAMILY_DRUID:
switch (GetId())
{