Core/Spells

* Converted percent based damage dealing spell effects to scripts
 * Fix Leviroth Self-Impale damage

Closes #6085

Signed-off-by: Shauren <[email protected]>
This commit is contained in:
Vincent-Core
2012-04-21 12:17:45 +02:00
committed by Shauren
parent 9559a48877
commit 408c78dcd7
5 changed files with 61 additions and 49 deletions
-17
View File
@@ -390,23 +390,6 @@ void Spell::EffectSchoolDMG(SpellEffIndex effIndex)
if (!unitTarget->HasAura(27825))
return;
break;
// Cataclysmic Bolt
case 38441:
{
damage = unitTarget->CountPctFromMaxHealth(50);
break;
}
case 20625: // Ritual of Doom Sacrifice
case 29142: // Eyesore Blaster
case 35139: // Throw Boom's Doom
case 42393: // Brewfest - Attack Keg
case 55269: // Deathly Stare
case 56578: // Rapid-Fire Harpoon
case 62775: // Tympanic Tantrum
{
damage = unitTarget->CountPctFromMaxHealth(damage);
break;
}
// Gargoyle Strike
case 51963:
{