Quantcast
Channel: OwnedCore - World of Warcraft Exploits, Hacks, Bots and Guides.
Viewing all articles
Browse latest Browse all 282135

Target lowest health enemy

$
0
0
I am looking to create an addon or a macro, that will target the lowest health enemy within range, and then bind it to tab.

I am planning on using the following API call: UnitHealth(unit)

Now what I am missing, and what I am asking is if I can create an array of the players within range, check their health, and return the player with the lowest health.

Any suggestion/ideas/help?

Viewing all articles
Browse latest Browse all 282135

Trending Articles