78 lines
1.5 KiB
C#
78 lines
1.5 KiB
C#
namespace SmartNav.Model;
|
|
|
|
public static class MovementData
|
|
{
|
|
public static class Speeds
|
|
{
|
|
public const float Walk = 2.4f;
|
|
|
|
public const float JogWalk = 2.88f;
|
|
|
|
public const float Run = 6f;
|
|
|
|
public const float RunJog = 7.2f;
|
|
|
|
public const float RunSprint = 7.8f;
|
|
|
|
public const float MountWalkGround = 3.2f;
|
|
|
|
public const float MountGround0 = 9f;
|
|
|
|
public const float MountGround1 = 12f;
|
|
|
|
public const float MountGround2 = 15f;
|
|
|
|
public const float MountFly = 20f;
|
|
|
|
public const float Swim = 5f;
|
|
|
|
public const float SwimJog = 6f;
|
|
|
|
public const float SwimSprint = 6.5f;
|
|
|
|
public const float Dive = 6f;
|
|
|
|
public const float DiveJog = 7.2f;
|
|
|
|
public const float DiveSprint = 7.8f;
|
|
|
|
public static float GetMountGroundSpeed(int mountSpeedLevel)
|
|
{
|
|
return mountSpeedLevel switch
|
|
{
|
|
0 => 9f,
|
|
1 => 12f,
|
|
2 => 15f,
|
|
_ => 9f,
|
|
};
|
|
}
|
|
}
|
|
|
|
public static class Thresholds
|
|
{
|
|
public const float DefaultSprintDistanceOpenWorld = 50f;
|
|
|
|
public const float DefaultSprintDistanceTown = 20f;
|
|
|
|
public const float DefaultMountGroundDistance = 20f;
|
|
|
|
public const float DefaultMountFlyDistance = 15f;
|
|
|
|
public const float DefaultStopDistance = 3f;
|
|
}
|
|
|
|
public static class Timings
|
|
{
|
|
public const float TeleportCastDuration = 5f;
|
|
|
|
public const float LoadingScreenDuration = 2f;
|
|
|
|
public const float MountCastDuration = 1f;
|
|
|
|
public const float SprintDurationOutOfCombat = 20f;
|
|
|
|
public const float SprintDurationInCombat = 10f;
|
|
|
|
public const float SprintCooldown = 60f;
|
|
}
|
|
}
|