From 4b00269cccfb96d91b0bc79876bea8dc9837bf0a Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Mon, 16 May 2011 19:02:36 +0200 Subject: [PATCH] [11496] Add dummy aura effect (removal) of spell 12774 Signed-off-by: NoFantasy --- src/game/SpellAuras.cpp | 11 +++++++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index d57aa8938..badf28906 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2297,6 +2297,17 @@ void Aura::HandleAuraDummy(bool apply, bool Real) case 12479: // Hex of Jammal'an target->CastSpell(target, 12480, true, NULL, this); return; + case 12774: // (DND) Belnistrasz Idol Shutdown Visual + { + if (m_removeMode == AURA_REMOVE_BY_DEATH) + return; + + // Idom Rool Camera Shake <- wtf, don't drink while making spellnames? + if (Unit* caster = GetCaster()) + caster->CastSpell(caster, 12816, true); + + return; + } case 28169: // Mutating Injection { // Mutagen Explosion diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 844fb7432..9ea1e0d68 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11495" + #define REVISION_NR "11496" #endif // __REVISION_NR_H__