mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
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);
|
||||
// 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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user