From 71ebbc60cccdf28c02f01cacf2adc44f7812286f Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 18 Nov 2025 00:32:06 +0100 Subject: Core/Movement: Remove MotionMaster::MoveJump(x, y, z) overload --- src/server/scripts/EasternKingdoms/zone_undercity.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/server/scripts/EasternKingdoms') diff --git a/src/server/scripts/EasternKingdoms/zone_undercity.cpp b/src/server/scripts/EasternKingdoms/zone_undercity.cpp index 2c05032de2e..21211518c3c 100644 --- a/src/server/scripts/EasternKingdoms/zone_undercity.cpp +++ b/src/server/scripts/EasternKingdoms/zone_undercity.cpp @@ -153,14 +153,15 @@ public: { if (summoned->GetEntry() == NPC_HIGHBORNE_BUNNY) { + summoned->SetDisableGravity(true); + if (Creature* target = ObjectAccessor::GetCreature(*summoned, targetGUID)) { - target->GetMotionMaster()->MoveJump(target->GetPositionX(), target->GetPositionY(), me->GetPositionZ() + 15.0f, me->GetOrientation(), 0); + target->GetMotionMaster()->MovePoint(0, target->GetPositionX(), target->GetPositionY(), me->GetPositionZ() + 15.0f, false); target->UpdatePosition(target->GetPositionX(), target->GetPositionY(), me->GetPositionZ()+15.0f, 0.0f); summoned->CastSpell(target, SPELL_RIBBON_OF_SOULS, false); } - summoned->SetDisableGravity(true); targetGUID = summoned->GetGUID(); } } -- cgit v1.2.3