Fix Glyph of Blocking (43425). Patch by chops. Closes #195.
--HG-- branch : trunk
This commit is contained in:
@@ -437,7 +437,14 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
|
|||||||
damage = uint32(damage * (m_caster->GetTotalAttackPowerValue(BASE_ATTACK)) / 100);
|
damage = uint32(damage * (m_caster->GetTotalAttackPowerValue(BASE_ATTACK)) / 100);
|
||||||
// Shield Slam
|
// Shield Slam
|
||||||
else if(m_spellInfo->SpellFamilyFlags[1] & 0x200 && m_spellInfo->Category == 1209)
|
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
|
// Victory Rush
|
||||||
else if(m_spellInfo->SpellFamilyFlags[1] & 0x100)
|
else if(m_spellInfo->SpellFamilyFlags[1] & 0x100)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user