Jump to content

C# and Starting Combat Rotation


Zan

Recommended Posts

I wrote a questing profile in C# and it will not engage in combat when in combat at the end of what I wrote. What am I missing?

wManager.Wow.Helpers.Conditions.ForceIgnoreIsAttacked = true;
wManager.Wow.Bot.Tasks.MountTask.Mount();
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(Xf, Yf, Zf));
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(Xf, Yf, Zf));
wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(Xf, Yf, Zf));
wManager.Wow.Helpers.Conditions.ForceIgnoreIsAttacked = false;
wManager.Wow.Bot.Tasks.MountTask.DismountMount();

 

Link to comment
Share on other sites

It is possible that fightclass launchinging spells while WRobot is not in combat (only because you have target). Try adding this line to the beginning of your code:

 wManager.Wow.Helpers.Interact.InteractGameObject(wManager.Wow.ObjectManager.ObjectManager.Me.GetBaseAddress);

 

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