Core/Movement: Remove MotionMaster::MoveJump(x, y, z) overload

This commit is contained in:
Shauren
2025-11-18 00:32:06 +01:00
parent f94a3e1487
commit 71ebbc60cc
6 changed files with 9 additions and 19 deletions

View File

@@ -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();
}
}