mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[11638] Implement additional damage on expire 29865 and 55053 auras
This commit is contained in:
parent
5776c09ad8
commit
b4ec3f3fd9
2 changed files with 23 additions and 1 deletions
|
|
@ -8857,6 +8857,28 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply)
|
||||||
{
|
{
|
||||||
switch(GetId())
|
switch(GetId())
|
||||||
{
|
{
|
||||||
|
case 29865: // Deathbloom (10 man)
|
||||||
|
{
|
||||||
|
if (!apply && m_removeMode == AURA_REMOVE_BY_EXPIRE)
|
||||||
|
{
|
||||||
|
cast_at_remove = true;
|
||||||
|
spellId1 = 55594;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
return;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 55053: // Deathbloom (25 man)
|
||||||
|
{
|
||||||
|
if (!apply && m_removeMode == AURA_REMOVE_BY_EXPIRE)
|
||||||
|
{
|
||||||
|
cast_at_remove = true;
|
||||||
|
spellId1 = 55601;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
return;
|
||||||
|
break;
|
||||||
|
}
|
||||||
case 50720: // Vigilance (warrior spell but not have warrior family)
|
case 50720: // Vigilance (warrior spell but not have warrior family)
|
||||||
{
|
{
|
||||||
spellId1 = 68066; // Damage Reduction
|
spellId1 = 68066; // Damage Reduction
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11637"
|
#define REVISION_NR "11638"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue