aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-24 11:15:04 -0500
committermegamage <none@none>2009-04-24 11:15:04 -0500
commit23f729a7c79c9b6fc5d16350186bd77713f945ab (patch)
treedb2f944040a72985f4a52b61284ca1e1ea3386b5
parentb24b4681c6a38c14e0e6d5f7fdff38677328da6d (diff)
[7704] Implement damage part for spell 12809. Author: Trogvar
--HG-- branch : trunk
-rw-r--r--src/game/SpellEffects.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index dc7ab3f0b93..4f367d4f614 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1393,6 +1393,12 @@ void Spell::EffectDummy(uint32 i)
m_damage+=damage;
return;
}
+ // Concussion Blow
+ if(m_spellInfo->SpellFamilyFlags & 0x0000000004000000LL)
+ {
+ m_damage+= uint32(damage * m_caster->GetTotalAttackPowerValue(BASE_ATTACK) / 100);
+ return;
+ }
switch(m_spellInfo->Id)
{
// Warrior's Wrath