mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11020] Proper percent damage for effect 3 of spell 50341.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
342b122a63
commit
d072a42807
2 changed files with 8 additions and 1 deletions
|
|
@ -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:
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue