From 24f13bdcb7e7fe18f306bf1091c561a85e11d219 Mon Sep 17 00:00:00 2001 From: ApoC Date: Sat, 4 Jul 2009 21:23:03 +0200 Subject: [PATCH] [8117] Fixed spell 6343 and ranks, now getting bonus from AP signed-off-by: ApoC --- src/game/SpellEffects.cpp | 5 +++++ src/shared/revision_nr.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index bf69a6f0f..6cbb6cbd6 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -398,6 +398,11 @@ void Spell::EffectSchoolDMG(uint32 effect_idx) damage+= int32(m_caster->GetTotalAttackPowerValue(BASE_ATTACK) * pct / 100); break; } + // Thunder Clap + else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000000080)) + { + damage+=int32(m_caster->GetTotalAttackPowerValue(BASE_ATTACK) * 12 / 100); + } break; } case SPELLFAMILY_WARLOCK: diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 7713fc404..3c5c5c0f9 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8116" + #define REVISION_NR "8117" #endif // __REVISION_NR_H__