[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 <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-08-01 02:09:47 +02:00
parent e082e29bcc
commit 2455450cc0
2 changed files with 11 additions and 1 deletions

View file

@ -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())

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10301"
#define REVISION_NR "10302"
#endif // __REVISION_NR_H__