Jump to content
Sign in to follow this  
RakeRipGG

How do i make this macro?

Recommended Posts

I want it to use flash of light on the mouseover target but if the mouseover target cant be healed (like an enemy) i want it to do nothing (by default you heal yourself).

Thank you.

Share this post


Link to post
Share on other sites
#showtooltip Purify Spirit
/cast [@mouseover,help][@target,help][@targettarget,help][]Purify Spirit

This'll do what you want and more, just replace Healing Wave with any helpful direct healing/dispel spell you want and it will select it's target based on the following priority:
1) Mouseover target, be it the avatar or raid/party healthbar.
2) Your target if friendly
3) The target of your target, if you're targeting an enemy who is targeting a friendly
4) Yourself.

Edited by PinkLuigi
Used Quote instead of Code

Share this post


Link to post
Share on other sites
4 hours ago, PinkLuigi said:

#showtooltip Purify Spirit
/cast [@mouseover,help][@target,help][@targettarget,help][]Purify Spirit

This'll do what you want and more, just replace Healing Wave with any helpful direct healing/dispel spell you want and it will select it's target based on the following priority:
1) Mouseover target, be it the avatar or raid/party healthbar.
2) Your target if friendly
3) The target of your target, if you're targeting an enemy who is targeting a friendly
4) Yourself.

not what i wanted

Share this post


Link to post
Share on other sites
#showtooltip
/cast [@mouseover, help, exists][@player]Flash of Light

Edited: I'll test when I get home from work and update this.

Conditionals 

Edited by Archimage

Share this post


Link to post
Share on other sites
1 hour ago, RakeRipGG said:

not what i wanted

Then just modify it and delete the things you don't need:

#showtooltip Flash of Light
/cast [@mouseover,help][]Flash of Light

 

Share this post


Link to post
Share on other sites
1 hour ago, RakeRipGG said:

doesnt work

Strange. Works perfectly fine for me according to what you asked for in first post. I use that exact macro myself.

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...