[9978] Add explicit AP damage bonus for spells 55095, 55095.

Original patch provided johonson.
This commit is contained in:
VladimirMangos 2010-05-27 00:00:51 +04:00
parent fe69843ce7
commit 4e716c67da
6 changed files with 17 additions and 5 deletions

View file

@ -4988,6 +4988,15 @@ void Aura::HandlePeriodicDamage(bool apply, bool Real)
}
break;
}
case SPELLFAMILY_DEATHKNIGHT:
{
//Frost Fever and Blood Plague AP scale
if (m_spellProto->SpellFamilyFlags & UI64LIT(0x400080000000000))
{
m_modifier.m_amount += int32(caster->GetTotalAttackPowerValue(BASE_ATTACK) * 0.055f * 1.15f);
};
break;
}
default:
break;
}