aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/SpellEffects.cpp5
-rw-r--r--src/shared/revision_nr.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 8e289a77112..8215d18d8a2 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -662,6 +662,11 @@ void Spell::SpellDamageSchoolDmg(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 cf0c8d68341..eceadf30029 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__