aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-11-18 00:32:06 +0100
committerShauren <shauren.trinity@gmail.com>2025-11-18 00:32:06 +0100
commit71ebbc60cccdf28c02f01cacf2adc44f7812286f (patch)
treed2e173f04621d283e83b8796a2fbe32a873a9ee5 /src/server/scripts/EasternKingdoms
parentf94a3e14870e5ebbf15471df1b168500e0f0be52 (diff)
Core/Movement: Remove MotionMaster::MoveJump(x, y, z) overload
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
-rw-r--r--src/server/scripts/EasternKingdoms/zone_undercity.cpp5
1 files changed, 3 insertions, 2 deletions
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();
}
}