diff options
author | bkhorizon <none@none> | 2009-12-19 20:07:03 -0600 |
---|---|---|
committer | bkhorizon <none@none> | 2009-12-19 20:07:03 -0600 |
commit | fc2033176bf4f37f58fd0b69f71930d9a69eacda (patch) | |
tree | a8aedfe1a1c9c2654f439e21c1f80a4ab3cd4eec /src | |
parent | e30d516f5a3b72cd9f1f065e3d330f3b62fc6aa3 (diff) |
Fix Glyph of Blocking (43425). Patch by chops. Closes #195.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
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) { |