From 2455450cc076198ed3d63c83a1fabfb50e522d30 Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Sun, 1 Aug 2010 02:09:47 +0200 Subject: [PATCH] [10302] Add dummy aura effect of spell 31606 Note: it is expected that script side update player displayId at end of related taxi path. If not, player will be stuck with the model. Signed-off-by: NoFantasy --- src/game/SpellAuras.cpp | 10 ++++++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index a082435a2..ccbdcc46a 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1948,6 +1948,16 @@ void Aura::HandleAuraDummy(bool apply, bool Real) m_modifier.periodictime = 30*IN_MILLISECONDS; m_periodicTimer = m_modifier.periodictime; return; + case 31606: // Stormcrow Amulet + { + CreatureInfo const * cInfo = ObjectMgr::GetCreatureTemplate(17970); + + // we must assume db or script set display id to native at ending flight (if not, target is stuck with this model) + if (cInfo) + target->SetDisplayId(Creature::ChooseDisplayId(0, cInfo)); + + return; + } case 13139: // net-o-matic // root to self part of (root_target->charge->root_self sequence if (Unit* caster = GetCaster()) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 96b1b60e7..bc9e452e2 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 "10301" + #define REVISION_NR "10302" #endif // __REVISION_NR_H__