mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +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:
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11019"
|
||||
#define REVISION_NR "11020"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue