From 08d1d7334f890a075cc72288dc3ad1199954a6de Mon Sep 17 00:00:00 2001 From: Anubisss Date: Fri, 1 May 2009 17:29:11 +0200 Subject: [PATCH] *Backport from TrinityCore2: [7739] Implement boss spell 38441. Author: NoFantasy --HG-- branch : trunk --- src/game/SpellEffects.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 37f1dc0a08..15f5833c39 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -366,7 +366,12 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx) if(!radius) return; float distance = m_caster->GetDistance2d(unitTarget); damage = (distance > radius ) ? 0 : (int32)(m_spellInfo->EffectBasePoints[0]*((radius - distance)/radius)); - }break; + break; + } + // Cataclysmic Bolt + case 38441: + damage = unitTarget->GetMaxHealth() / 2; + break; } break; }