mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[9054] Implement expire/dispell damage for spell 44457 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
2a189d7275
commit
ce26fcf4aa
2 changed files with 11 additions and 1 deletions
|
|
@ -2408,6 +2408,16 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Living Bomb
|
||||||
|
if (m_spellProto->SpellFamilyName == SPELLFAMILY_MAGE && (m_spellProto->SpellFamilyFlags & UI64LIT(0x2000000000000)))
|
||||||
|
{
|
||||||
|
// Zero duration is equal to AURA_REMOVE_BY_DEFAULT. We can't use it directly, as it is set even
|
||||||
|
// when removing aura from one target due to casting Living Bomb at other.
|
||||||
|
if (m_duration == 0 || m_removeMode == AURA_REMOVE_BY_DISPEL)
|
||||||
|
m_target->CastSpell(m_target,m_modifier.m_amount,true,NULL,this);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (m_removeMode == AURA_REMOVE_BY_DEATH)
|
if (m_removeMode == AURA_REMOVE_BY_DEATH)
|
||||||
{
|
{
|
||||||
// Stop caster Arcane Missle chanelling on death
|
// Stop caster Arcane Missle chanelling on death
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9053"
|
#define REVISION_NR "9054"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue