From bdd7b4f74b9dc5ae2763876ab2484a7e9fe68b57 Mon Sep 17 00:00:00 2001 From: rechapa79 Date: Tue, 10 Mar 2009 02:47:11 +0300 Subject: [PATCH] [7434] Fix one paladin spell bonus Signed-off-by: DiSlord --- 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 431713024..1a51403b4 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -589,6 +589,11 @@ void Spell::EffectSchoolDMG(uint32 effect_idx) int32 count = m_caster->CalculateSpellDamage(m_spellInfo, 2, m_spellInfo->EffectBasePoints[2], unitTarget); damage += count * int32(averange * IN_MILISECONDS) / m_caster->GetAttackTime(BASE_ATTACK); } + // Shield of Righteousness + else if(m_spellInfo->SpellFamilyFlags&0x0010000000000000LL) + { + damage+=int32(m_caster->GetShieldBlockValue()); + } break; } } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index cf0c8d683..eceadf300 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 "7433" + #define REVISION_NR "7434" #endif // __REVISION_NR_H__