mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Movement: Remove MotionMaster::MoveJump(x, y, z) overload
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user