Thread Tools Display Modes
11-07-12, 03:27 PM   #1
Gaelinar
A Kobold Labourer
Join Date: Nov 2012
Posts: 1
Feral Druid Macros

I am working on this macro, but for the life of me I cannot figure out the if behind conditionals. something like:
#showtooltip mangle
/castsequence [harm,nostealth,(behind)] !shred; [harm, nostealth,reset=target] !mangle; !ravage [harm, stealth]
/cast [nostealth,help] !Cenarion Ward
  Reply With Quote
11-07-12, 03:52 PM   #2
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
It can't be done, there is no condition for being behind or in front of your target.
  Reply With Quote
11-08-12, 12:53 AM   #3
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Also:

- The exclamation prefix (eg. "!shred") is only useful for abilities that are toggles, like shapeshift forms or autoattack. For regular abilities, it doesn't do anything.

- Conditions must come before the ability, so you have to write "[harm, stealth] Ravage" instead of "Ravage [harm, stealth]".

- As written, your macro will only ever show the Mangle icon. Better to use more sensible conditional ordering, and let the game show the icon of the ability that will actually be used when you activate the macro.

- You can't specify different conditions for each ability in a castsequence. You can only specify conditions for the whole sequence. In your case, though, I don't see any reason to use a castsequence, since there is no static rotation for cats, and none of those abilities (except Cenarion Ward) have cooldowns. Just use /cast; then you can specify the conditions for each ability.

Anyway, you have two options:

1. Split those into two buttons:
Code:
#showtooltip
/cast [stealth] Ravage; [help] Cenarion Ward; Mangle
Code:
#showtooltip
/cast [stealth] Ravage; Shred
Both will use Ravage if you are stealthed. If you're not stealthed, the first button will use Cenarion Ward if your target is friendly or Mangle otherwise, and the second button will use Shred. You don't need to explicitly specify [harm] since offensive abilities don't do anything if you don't have a hostile target; it's not like friendly spells where you'll get the annoying "glowing hand" cursor.

2. Or use a modifier key:
Code:
#showtooltip
/cast [stealth] Ravage; [help] Cenarion Ward; [mod] Mangle; Shred
If you're in stealth, use Ravage. Otherwise, if your target is friendly, use Cenarion Ward. Otherwise, if any modifier key (Alt, Ctrl, or Shift) is pressed, use Mangle. Otherwise, use Shred.

Personally I'd use two buttons, since it's not like cats are overflowing with tons of abilities.
__________________
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 » Feral Druid Macros

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