mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[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:
parent
e082e29bcc
commit
2455450cc0
2 changed files with 11 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10301"
|
||||
#define REVISION_NR "10302"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue