From d757ba2a735fb27c68da1d2cbd4f5946f83c1826 Mon Sep 17 00:00:00 2001 From: Insider42 Date: Sun, 6 Jun 2010 22:14:19 +0400 Subject: [PATCH] [10040] Expected RAP bonus to damage for spell 1510 and ranks. Signed-off-by: VladimirMangos --- src/game/SpellEffects.cpp | 5 +++++ src/shared/revision_nr.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 1f34ca59f..e1db8016f 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -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: diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index e4c13e21f..111e3d48a 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10039" + #define REVISION_NR "10040" #endif // __REVISION_NR_H__