diff options
author | megamage <none@none> | 2009-04-30 19:35:37 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-30 19:35:37 -0500 |
commit | 31065850ed5f1f56320d656586acf951b80e3ffa (patch) | |
tree | be9ce0be3a35254b954a91874caf158ca580ee56 /src | |
parent | 93017c454bdeccdb9bb195cc8d5adb6c29985db6 (diff) |
[7739] Implement boss spell 38441. Author: NoFantasy
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 7 |
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; } |