Interrupt focus macro help

85 Goblin Shaman
3200
Hi everyone, I need help with an interrupt macro that will do the following:

Cast wind shear on my focus if I don't have a target. If I have a target to cast it on my target instead.

Any help will be greatly appreciated.

Thanks in advance.
Reply Quote
83 Blood Elf Mage
11310
I'm not an expert with macros, but I think something along the lines of:

/cast [target=focus, exists, harm, nodead] Wind Shear; Wind Shear.

Might work. Could use some good polishing, though,
Reply Quote
100 Troll Shaman
12425
/cast [harm] Wind Shear; [target=focus,harm,exists] Wind Shear

u can add a modifer key to switch between the 2

/cast [mod:shift, target=focus, harm, exists][harm] Wind Shear

this should work when you press the shift key it will target your focus, but when u just hit the macro it will it you current target
Reply Quote
85 Draenei Shaman
6235
You can now shorten "target" with @ instead.
/cast [@focus] your_spell
Reply Quote
90 Goblin Shaman
11570
I use

#showtooltip wind shear
/stopcasting
/cast [@focus] wind shear
Reply Quote
100 Goblin Shaman
12215
I use


#showtooltip Wind Shear
/stopcasting
/clearfocus [modifier:shift]
/clearfocus [target=focus,dead]
/clearfocus [target=focus,noexists]
/focus [target=focus,noexists]
/cast [target=focus] Wind Shear


It's an old macro..works but I'm sure it can be cleaned up.

Edit:

Didn't read OP correctly...Caizer's macro should work for you want.
Edited by Heijo on 2/15/2011 12:05 PM PST
Reply Quote
85 Goblin Shaman
3200
Thanks everyone for your replies!
Reply Quote
90 Orc Shaman
14355
What does the "harm" mean in these macros?
Reply Quote
100 Troll Shaman
12425
02/15/2011 1:44 PMPosted by Superbowl
What does the "harm" mean in these macros?


Harm – Evaluates ‘true’ if target is hostile

http://borkweb.com/story/world-of-warcraft-20-macros

explains the values there

Reply Quote

Please report any Code of Conduct violations, including:

Threats of violence. We take these seriously and will alert the proper authorities.

Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.

Harassing or discriminatory language. This will not be tolerated.

Forums Code of Conduct

Report Post # written by

Reason
Explain (256 characters max)
Submit Cancel

Reported!

[Close]