mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[11034] Implement self-damage part of spell 49016 work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
56eb87f1f8
commit
97756e95a2
2 changed files with 9 additions and 1 deletions
|
|
@ -7675,6 +7675,14 @@ void Aura::PeriodicDummyTick()
|
|||
// Blood of the North
|
||||
// if (spell->SpellIconID == 30412)
|
||||
// return;
|
||||
// Hysteria
|
||||
if (spell->SpellFamilyFlags & UI64LIT(0x0000000020000000))
|
||||
{
|
||||
// damage not expected to be show in logs, not any damage spell related to damage apply
|
||||
uint32 deal = m_modifier.m_amount * target->GetMaxHealth() / 100;
|
||||
target->DealDamage(target, deal, NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
|
||||
return;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11033"
|
||||
#define REVISION_NR "11034"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue