Originally Posted by ilion
So when you click on a unit in the game world, is there a way of piggybacking off of the function rather than modifying whats there, or is that all apart of the protected aspect of those functions?
|
Originally Posted by Phanx
Addons cannot change what happens when you click on a unit in the game world.
|
AKA, no.
You can make other things happen when you target a unit with PLAYER_TARGET_CHANGED event, but setting that target to focus is not one of those things, and you can't prevent that unit from getting targeted as a result of the click.
Click on the unit, it will get targeted. To focus you have to use a separate macro to do it, or manually right-click --> focus on their unit frame. No way around that.
You'll be better off learning to heal via raid/party frames than by clicking units on the game world (or via mouseover macros, even.)