From fc2033176bf4f37f58fd0b69f71930d9a69eacda Mon Sep 17 00:00:00 2001 From: bkhorizon Date: Sat, 19 Dec 2009 20:07:03 -0600 Subject: Fix Glyph of Blocking (43425). Patch by chops. Closes #195. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index aa8b7e2fa96..5bff50196ce 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -437,7 +437,14 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx) damage = uint32(damage * (m_caster->GetTotalAttackPowerValue(BASE_ATTACK)) / 100); // Shield Slam else if(m_spellInfo->SpellFamilyFlags[1] & 0x200 && m_spellInfo->Category == 1209) - damage += int32(m_caster->GetShieldBlockValue()); + { + damage += int32(m_caster->GetShieldBlockValue()); + + // Glyph of Shield Slam + if (m_caster->HasAura(58375)) + m_caster->CastSpell(m_caster, 58374, true); + } + // Victory Rush else if(m_spellInfo->SpellFamilyFlags[1] & 0x100) { -- cgit v1.2.3