[7739] Implement boss spell 38441. Author: NoFantasy

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-30 19:35:37 -05:00
parent 93017c454b
commit 31065850ed

View File

@@ -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;
}