mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Many, many cmangos Cata commits applied
The following commits were either applied or found not to be applicable:
This commit is contained in:
parent
32a26f44c7
commit
a800f3b1ad
100 changed files with 2385 additions and 1305 deletions
|
|
@ -509,6 +509,16 @@ void MotionMaster::MoveJump(float x, float y, float z, float horizontalSpeed, fl
|
|||
Mutate(new EffectMovementGenerator(id));
|
||||
}
|
||||
|
||||
void MotionMaster::MoveDestination(float x, float y, float z, float o, float horizontalSpeed, float max_height, Unit* target)
|
||||
{
|
||||
Movement::MoveSplineInit init(*m_owner);
|
||||
init.MoveTo(x, y, z);
|
||||
init.SetParabolic(max_height, 0);
|
||||
init.SetVelocity(horizontalSpeed);
|
||||
target ? init.SetFacing(target) : init.SetFacing(o);
|
||||
init.Launch();
|
||||
}
|
||||
|
||||
void MotionMaster::MoveFall()
|
||||
{
|
||||
// use larger distance for vmap height search than in most other cases
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue