[11638] Implement additional damage on expire 29865 and 55053 auras

This commit is contained in:
zergtmn 2011-06-18 01:08:59 +06:00
parent 5776c09ad8
commit b4ec3f3fd9
2 changed files with 23 additions and 1 deletions

View file

@ -8857,6 +8857,28 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply)
{
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)
{
spellId1 = 68066; // Damage Reduction

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11637"
#define REVISION_NR "11638"
#endif // __REVISION_NR_H__