Merge pull request #7065 from Vincent-Michael/PainAndSuffering

Core/Spells: Fix Pain and Suffering reduces damage
This commit is contained in:
Kaelima
2012-08-01 22:56:51 -07:00
4 changed files with 40 additions and 29 deletions
@@ -861,21 +861,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())
{