Fix AP coefficient of 32645 and ranks.

In 3.2.2 it does an additional 0.09 damage per combo point and AP.

Signed-off-by: hunuza <hunuza@gmail.com>
This commit is contained in:
Tequila 2009-09-26 16:54:10 +02:00 committed by hunuza
parent 88040431b5
commit 65aa5c89e1

View file

@ -535,7 +535,7 @@ void Spell::EffectSchoolDMG(uint32 effect_idx)
for (int i=0; i< doses; i++)
unitTarget->RemoveSingleSpellAurasFromStack(spellId);
damage *= doses;
damage += int32(((Player*)m_caster)->GetTotalAttackPowerValue(BASE_ATTACK) * 0.03f * doses);
damage += int32(((Player*)m_caster)->GetTotalAttackPowerValue(BASE_ATTACK) * 0.09f * doses);
}
// Eviscerate and Envenom Bonus Damage (item set effect)
if(m_caster->GetDummyAura(37169))