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 post
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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...