Jump to content
Sign in to follow this  
Wrathran

[help] [harm] macro in vanilla. Is it possible?

Recommended Posts

Hello

When I play healer on retail I usually use this macro:

#showtooltip
/cast [harm] lightning bolt; Healing wave

So when I target a friend I cast heal and when I target enemy I cast damage spell and it shows the healingspell when nothing is targeted.

Is this function possible in vanilla?

Edited by Wrathran

Share this post


Link to post
Share on other sites

try this:

/run if UnitCanAttack("player","target") == 1 then CastSpellByName("lightning bolt") else CastSpellByName("healing wave") end
Edited by WobLight

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  

×