Thread Tools Display Modes
01-16-13, 08:20 PM   #1
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
Spell and Focus Macro no longer works

Can anyone explain why the following macro no longer works in MoP and if there's something I can change to make it work?

Code:
#showtooltip
/clearfocus  [target=focus,dead]; [target=focus,noexists]; [mod:ctrl]
/stopmacro [mod:ctrl]
/focus [target=focus, noexists, mod:shift]
/cast [target=focus, exists, mod:shift] Blood Fear; Blood Fear
I have another one with Banish as the spell but it doesn't work either.

Thanks,

Brad
  Reply With Quote
01-16-13, 09:52 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Your macro syntax is incorrect; that macro shouldn't have ever worked. When specifying multiple conditions (eg. for /clearfocus) for the same command, you separate them with a space, not a semicolon. Semicolons are used for specifying different actions for different conditions with the same command (eg. /cast [a] x; [b] y; z).

Try this:
Code:
#showtooltip Blood Fear
/clearfocus [@focus, dead] [@focus, noexists] [mod:ctrl]
/stopmacro [mod:ctrl]
/focus [@focus, mod:shift]
/cast [@focus, mod:shift] [] Blood Fear
(I also cleaned up some other redundant/unnecessary stuff.)
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Spell and Focus Macro no longer works

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off