diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 10a6dfe6d..510f06dbb 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3391,6 +3391,22 @@ void Aura::HandleAuraModStun(bool apply, bool Real) data.append(m_target->GetPackGUID()); data << uint32(0); m_target->SendMessageToSet(&data,true); + + // Summon the Naj'entus Spine GameObject on target if spell is Impaling Spine + if(GetId() == 39837) + { + GameObject* pObj = new GameObject; + if(pObj->Create(objmgr.GenerateLowGuid(HIGHGUID_GAMEOBJECT), 185584, m_target->GetMap(), m_target->GetPhaseMask(), + m_target->GetPositionX(), m_target->GetPositionY(), m_target->GetPositionZ(), m_target->GetOrientation(), 0.0f, 0.0f, 0.0f, 0.0f, 100, 1)) + { + pObj->SetRespawnTime(GetAuraDuration()/IN_MILISECONDS); + pObj->SetSpellId(GetId()); + m_target->AddGameObject(pObj); + m_target->GetMap()->Add(pObj); + } + else + delete pObj; + } } else { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 4a380a657..fbfd2d9ae 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 "7497" + #define REVISION_NR "7498" #endif // __REVISION_NR_H__