aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-30 19:35:37 -0500
committermegamage <none@none>2009-04-30 19:35:37 -0500
commit31065850ed5f1f56320d656586acf951b80e3ffa (patch)
treebe9ce0be3a35254b954a91874caf158ca580ee56 /src
parent93017c454bdeccdb9bb195cc8d5adb6c29985db6 (diff)
[7739] Implement boss spell 38441. Author: NoFantasy
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 1cbd5f94772..04b3617f41b 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -372,7 +372,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;
}