Код:
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 63d3334..a76b4bc 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -2350,6 +2350,33 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
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;
+ 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, SPLINETYPE_NORMAL, SPLINEFLAG_UNKNOWN11, 1);
+ }
+ else
+ unitTarget->NearTeleportTo(x,y,z,orientation,false);
+
+ return;
+ }
+ }
break;
}
}