From e9a98392a100bc5ef5286af59181a0904a4be791 Mon Sep 17 00:00:00 2001 From: QAston Date: Sat, 11 Apr 2009 19:15:28 +0200 Subject: [PATCH] *Fix Concussion Blow --HG-- branch : trunk --- src/game/SpellEffects.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 8a37f3757c..928fd74c6b 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: