From 162558d5062cf14c8df66483e6955ff34ba77814 Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Fri, 25 Dec 2009 15:33:41 +0100 Subject: Fixed double bonus for Hammer of Wrath, already in spell_bonus_data --HG-- branch : trunk --- src/game/SpellEffects.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 48e73a40001..527a4726bdc 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -699,15 +699,6 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx) } case SPELLFAMILY_PALADIN: { - // Hammer of Wrath - if (m_spellInfo->SpellFamilyFlags[1]&0x00000080) - { - float ap = m_caster->GetTotalAttackPowerValue(BASE_ATTACK); - int32 holy = m_caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellInfo)) + - m_caster->SpellBaseDamageBonusForVictim(GetSpellSchoolMask(m_spellInfo), unitTarget); - - damage += int32(ap * 0.15f) + int32(holy * 0.15f); - } // Hammer of the Righteous else if (m_spellInfo->SpellFamilyFlags[1]&0x00040000) { -- cgit v1.2.3