From 53eeb6d99ae927294ccda7519e171caf24043277 Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Sun, 28 Feb 2010 11:35:11 +0100 Subject: [PATCH] [9480] Add aura dummy effect of spell 29266 Signed-off-by: NoFantasy --- src/game/SpellAuras.cpp | 5 +++++ src/shared/revision_nr.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 07d95e8fa..e28d4596e 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2268,6 +2268,11 @@ void Aura::HandleAuraDummy(bool apply, bool Real) if (Unit* caster = GetCaster()) caster->CastSpell(caster, 13138, true, NULL, this); return; + case 29266: // Permanent Feign Death + if (m_target->GetTypeId() == TYPEID_UNIT) + m_target->SetFeignDeath(true); + + return; case 35357: // Spawn Feign Death if (m_target->GetTypeId() == TYPEID_UNIT) { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 6d6bf6f68..c6f429b5d 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 "9479" + #define REVISION_NR "9480" #endif // __REVISION_NR_H__