From b5fefe7d866427dee513acb61100ee37efbf2246 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Mon, 26 Jan 2009 21:57:59 +0300 Subject: [PATCH] Implement warrior 1464 and ranks Signed-off-by: DiSlord --- src/game/SpellEffects.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 6dfb5217a..31578207d 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1271,6 +1271,15 @@ void Spell::EffectDummy(uint32 i) m_caster->SetPower(POWER_RAGE,0); return; } + // Slam + if(m_spellInfo->SpellFamilyFlags & 0x0000000000200000LL) + { + if(!unitTarget) + return; + m_damage+=m_caster->CalculateDamage(m_attackType, false); + m_damage+=damage; + return; + } switch(m_spellInfo->Id) { // Warrior's Wrath