Core/Spells: SPELL_EFFECT_LEAP_BACK will now always make targets jump backwards

This commit is contained in:
Ovahlord
2019-01-18 11:55:20 +01:00
parent 0373b3b613
commit 06ec5b7a5d

View File

@@ -4564,8 +4564,7 @@ void Spell::EffectLeapBack(SpellEffIndex effIndex)
float speedxy = m_spellInfo->Effects[effIndex].MiscValue / 10.f;
float speedz = damage/ 10.f;
//1891: Disengage
unitTarget->JumpTo(speedxy, speedz, m_spellInfo->SpellIconID != 1891);
unitTarget->JumpTo(speedxy, speedz, false);
// changes fall time
if (m_caster->GetTypeId() == TYPEID_PLAYER)