Jump to content

bigcheat

Members
  • Posts

    3
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by bigcheat

  1. where is the patche of correction?
  2. this patch is working in 3.2.2a, but not working in 3.3.3a
  3. 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/
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use