Code:
#showtooltip
/cast [@mouseover,help,nodead][@target,help] Rejuvenation; Rake
/cast [nostealth,nocombat] !Prowl; Rake
This macro is supposed to cast rejuvenation when my mouseover or target is friendly. Rake if the target is hostile and stealth if I am out of combat. This works in 9 out of 10 situations however when I'm playing arena and I have a friendly target clicking the macro results in me losing that friendly target and instead targeting a random enemy player.
Edit: Seems to have something to do with Rake auto targeting nearest enemy. I wonder if that can be disabled.
Edit2: Adding a stopmacro line with friendly target condition fixed the problem for right now. Still looking for input/improvements to the macro though.
Code:
#showtooltip
/cast [@mouseover,help,nodead][@target,help] Rejuvenation; Rake
/stopmacro [@playertarget,help]
/cast [nostealth,nocombat] !Prowl; Rake