mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[9978] Add explicit AP damage bonus for spells 55095, 55095.
Original patch provided johonson.
This commit is contained in:
parent
fe69843ce7
commit
4e716c67da
6 changed files with 17 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue