Jump to content

Recommended Posts

When I am trying to use the arrow keys to run this c code is causing my character to pause until I move forward again then repeating the pause.

I have the following Conditions set.

Me In Combat - False

Hostile Unit Near - Number 20 - Radius 20 - Type SmallerOrEqual

Buff Time Left - Buff name Prowl - Number 1 - Type SmallerOrEqual

 

if (
            !ObjectManager.Me.HaveBuff("Prowl")
            && !ObjectManager.Me.InCombat
            && wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWPlayer(wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWPlayer()).Position.DistanceTo(wManager.Wow.ObjectManager.ObjectManager.Me.Position) < 500
            )
        {
            robotManager.Helpful.Logging.Write("Player detected: cast Prowl");
            wManager.Wow.Helpers.SpellManager.CastSpellByNameLUA("Prowl");
            //wManager.Wow.Helpers.SpellManager.CastSpellByNameLUA("Prowl", true);
        }

 

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...