mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
*Spell::EffectPlayerPull should not use KnockbackFrom, this moves you away from the destination, instead of towards. Fix by disassembler. Closes #169
--HG-- branch : trunk
This commit is contained in:
@@ -6750,7 +6750,7 @@ void Spell::EffectPlayerPull(uint32 i)
|
||||
if(!unitTarget)
|
||||
return;
|
||||
|
||||
unitTarget->KnockbackFrom(m_caster->GetPositionX(), m_caster->GetPositionY(), float(damage ? damage : unitTarget->GetDistance2d(m_caster)), float(m_spellInfo->EffectMiscValue[i])/10);
|
||||
unitTarget->GetMotionMaster()->MoveJump(m_caster->GetPositionX(), m_caster->GetPositionY(), float(damage ? damage : unitTarget->GetDistance2d(m_caster)), float(m_spellInfo->EffectMiscValue[i])/10);
|
||||
}
|
||||
|
||||
void Spell::EffectDispelMechanic(uint32 i)
|
||||
|
||||
Reference in New Issue
Block a user