mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
fix(Core/Spells): Fix SPELL_EFFECT_LEAP_BACK not working on targeted … (#22389)
This commit is contained in:
@@ -5037,7 +5037,7 @@ void Spell::EffectLeapBack(SpellEffIndex effIndex)
|
||||
float speedxy = m_spellInfo->Effects[effIndex].MiscValue / 10.0f;
|
||||
float speedz = damage / 10.0f;
|
||||
//1891: Disengage
|
||||
m_caster->JumpTo(speedxy, speedz, m_spellInfo->SpellFamilyName != SPELLFAMILY_HUNTER);
|
||||
unitTarget->JumpTo(speedxy, speedz, m_spellInfo->SpellFamilyName != SPELLFAMILY_HUNTER);
|
||||
|
||||
if (m_caster->IsPlayer())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user