[7621] More strong check for 23922 and ranks for add damage

Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
Lutik 2009-04-05 21:03:38 +04:00 committed by DiSlord
parent 2c06d207a7
commit d6223e18f5
3 changed files with 5 additions and 5 deletions

View file

@ -370,7 +370,7 @@ void Spell::EffectSchoolDMG(uint32 effect_idx)
damage = uint32(damage * (m_caster->GetTotalAttackPowerValue(BASE_ATTACK)) / 100);
}
// Shield Slam
else if(m_spellInfo->SpellFamilyFlags & 0x0000020000000000LL)
else if(m_spellInfo->SpellFamilyFlags & 0x0000020000000000LL && m_spellInfo->Category==1209)
damage += int32(m_caster->GetShieldBlockValue());
// Victory Rush
else if(m_spellInfo->SpellFamilyFlags & 0x10000000000LL)