File ---> src/game/SpellEffects.cpp
@@ -2696,6 +2696,34 @@ void Spell::EffectDummy(uint32 i)
m_caster->CastCustomSpell(m_caster, 45470, &bp, NULL, NULL, true);
return;
}
+
+ switch(m_spellInfo->Id)
+ {
+ // Death Grip
+ case 49560:
+ case 49576:
+ {
+ if (!unitTarget || !m_caster)
+ return;
+
+ float x = m_caster->GetPositionX();
+ float y = m_caster->GetPositionY();
+ float z = m_caster->GetPositionZ() + 1.0f;
+ float orientation = unitTarget->GetOrientation();
+
+ m_caster->CastSpell(unitTarget, 51399, true, NULL);
+
+ if(unitTarget->GetTypeId() != TYPEID_PLAYER)
+ {
+ unitTarget->GetMap()->CreatureRelocation((Creature*)unitTarget,x,y,z,orientation);
+ ((Creature*)unitTarget)->SendMonsterMove(x, y, z, orientation, MONSTER_MOVE_UNK12, 1);
+ }
+ else
+ unitTarget->NearTeleportTo(x,y,z,orientation,false);
+
+ return;
+ }
+ }
break;
}
I found this and more others on link down, enjoy!
http://github.com/kero99/mangos/