Jump to content

Movement Speed in Travel Form while in combat


Recommended Posts

Hello, is there any way to check in conditions, if your movement speed is lower than 200%? (travel form out of combat default) Cause if player hit by a mob, hes movement speed becomes around 160% or lower, dont remember exact speed,

Something to put into fightclass for reshift:

 

 if (ObjectManager.Me.HaveBuff(5419) &&  "Here condition for if speed is lower than 200%" && !Fight.InFight)
        {
           
             Travel.Launch();

        }    

Link to comment
Share on other sites

5 hours ago, maukor said:

Hello, is there any way to check in conditions, if your movement speed is lower than 200%? (travel form out of combat default) Cause if player hit by a mob, hes movement speed becomes around 160% or lower, dont remember exact speed,

Something to put into fightclass for reshift:

 

 if (ObjectManager.Me.HaveBuff(5419) &&  "Here condition for if speed is lower than 200%" && !Fight.InFight)
        {
           
             Travel.Launch();

        }    

Take a look at "ObjectManager.Me.SpeedMoving"

Link to comment
Share on other sites

On 12/30/2020 at 4:11 AM, iMod said:

Take a look at "ObjectManager.Me.SpeedMoving"

Works perfect, ty a lot.

 

  if (ObjectManager.Me.HaveBuff(5419) && ObjectManager.Me.SpeedMoving > 0 && ObjectManager.Me.SpeedMoving < 14 && !ObjectManager.Me.InCombatFlagOnly  )
        {
            Thread.Sleep(300);
             Travel.Launch();

        }    

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...