mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Update jugement damage calculation for 3.2. by tali
--HG-- branch : trunk
This commit is contained in:
@@ -733,7 +733,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
|
||||
{
|
||||
float ap = m_caster->GetTotalAttackPowerValue(BASE_ATTACK);
|
||||
float sp = m_caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellInfo));
|
||||
damage += int32(0.16f*ap + 0.25f*sp);
|
||||
damage += int32(0.14f*ap + 0.22f*sp);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user