|
Архив - только для чтения |
| Модератор форума: andycrowz |
| Форум Корзина форума Корзина [patch] на Хватку смерти у Дк |
| [patch] на Хватку смерти у Дк |
патчь на скил "хваткиа смерти" у рыцаря смерти (патчь не мой)
я его проверял, он робит но анимация не его (покачто роботает только на мобах)
Code diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 52a3a50..ebffe01 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1739,6 +1739,34 @@ void Spell::EffectDummy(uint32 i) return; } break; + case SPELLFAMILY_DEATHKNIGHT: + switch(m_spellInfo->Id) + { + // Death Grip + case 49560: + case 49576: + { + if (!unitTarget || !m_caster) + return; + + uint32 mapid = m_caster->GetMapId(); + float x = m_caster->GetPositionX(); + float y = m_caster->GetPositionY(); + float z = m_caster->GetPositionZ()+1; + float orientation = unitTarget->GetOrientation(); + + unitTarget->SendMonsterMove(x, y, z, 0, MOVEMENTFLAG_JUMPING, 1); + + if(unitTarget->GetTypeId() != TYPEID_PLAYER) + unitTarget->GetMap()->CreatureRelocation((Creature*)unitTarget,x,y,z,orientation); + else + unitTarget->NearTeleportTo(x,y,z,orientation,false); + + //m_caster->CastSpell(unitTarget,49575,true,NULL); + return; + } + } + break; } // pet auras Ставим + если помог |
Данная тема была перемещена из раздела Патчи в ядро MaNGOS.
Причина перемещения: Устарело Переместил: ph3n.
Сообщение # 6 написано 11.10.2012 в 14:40
|
| |||
| |||




