[10040] Expected RAP bonus to damage for spell 1510 and ranks.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Insider42 2010-06-06 22:14:19 +04:00 committed by VladimirMangos
parent 7f8ad96038
commit d757ba2a73
2 changed files with 6 additions and 1 deletions

View file

@ -672,6 +672,11 @@ void Spell::EffectSchoolDMG(SpellEffectIndex effect_idx)
{
damage += int32(m_caster->GetTotalAttackPowerValue(RANGED_ATTACK)*0.1f);
}
// Volley
else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x00002000))
{
damage += int32(m_caster->GetTotalAttackPowerValue(RANGED_ATTACK)*0.0837f);
}
break;
}
case SPELLFAMILY_PALADIN: