[11020] Proper percent damage for effect 3 of spell 50341.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
breakwater 2011-01-17 11:06:11 +03:00 committed by VladimirMangos
parent 342b122a63
commit d072a42807
2 changed files with 8 additions and 1 deletions

View file

@ -363,6 +363,13 @@ void Spell::EffectSchoolDMG(SpellEffectIndex effect_idx)
damage = unitTarget->GetMaxHealth() / 2;
break;
}
// Touch the Nightmare
case 50341:
{
if (effect_idx == EFFECT_INDEX_2)
damage = int32(unitTarget->GetMaxHealth() * 0.3f);
break;
}
// Tympanic Tantrum
case 62775:
{