diff options
author | QAston <none@none> | 2009-04-11 19:15:28 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-04-11 19:15:28 +0200 |
commit | e9a98392a100bc5ef5286af59181a0904a4be791 (patch) | |
tree | fb143866e28118023ce25cfcb267e812077ce017 /src | |
parent | f4d69d1b3b8fe6d26195b14f0ec2133b872c735c (diff) |
*Fix Concussion Blow
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 8a37f3757cd..928fd74c6ba 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -430,6 +430,13 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx) damage += int32(m_caster->GetTotalAttackPowerValue(BASE_ATTACK) * 12 / 100); break; } + // Concussion Blow + else if(m_spellInfo->SpellFamilyFlags[0] & 0x4000000) + { + int32 pct = m_caster->CalculateSpellDamage(m_spellInfo, 2, m_spellInfo->EffectBasePoints[2], unitTarget); + damage += int32(m_caster->GetTotalAttackPowerValue(BASE_ATTACK) * pct / 100); + break; + } break; } case SPELLFAMILY_WARLOCK: |