Jump to content

Recommended Posts

I can't tell exactly what you're asking for, but assuming the range that you have to start meleeing at is 5, the below should work.

using wManager.Wow.ObjectManager;

if (ObjectManager.Target.GetDistance <= 5){
 // do melee stuff
}
else {
 // do ranged stuff
}
Link to comment
https://wrobot.eu/forums/topic/6697-hunter-range-code/#findComment-30388
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...