PDA

View Full Version : Looking for macro help.


Polaba
04-06-2008, 04:56 AM
Hi all, not sure if this is in the right section of the forums, but whatever.

I'm looking for a macro that will cast Shadowstep (rogue), then cast Cheap Shot, but cast Garrote if it's a certain class (i.e. mage).

Thanks in advance.

Ammon
04-06-2008, 05:38 AM
I doubt that macros can be conditional in that manner , ie detecting class.

Tunga
04-06-2008, 10:15 AM
You can't (unless you're out of combat which defeats the point of this).

curseoflono
04-06-2008, 03:12 PM
you could make one that has a modifier like mouse button : 2 or alt - click for the mage bit, but it wont do it for you...

Lothaer
04-06-2008, 05:04 PM
lets not forget that there is a character limit of 255 characters.

Xlorep DarkHelm
04-06-2008, 06:36 PM
Hi all, not sure if this is in the right section of the forums, but whatever.

I'm looking for a macro that will cast Shadowstep (rogue), then cast Cheap Shot, but cast Garrote if it's a certain class (i.e. mage).

Thanks in advance.

Only thing I could think of off-hand that might work is:

#showtooltip
/cast [nostealth] Shadowstep; [nomod] Cheap Shot; Garrote

Bear in mind that I don't know Rogue abilities well, so this may or may not work as you want. Shadowstep, I'm assuming you aren't stealthed when you use it (that's the one where you basically teleport to being behind your target, correct? after you use it, do you become stealthed or not stealthed, and do you need to be stealthed to use it or not?), but if you are then I might need to improve the macro a bit.

Anyway, under the assumption that you don't start stealthed but end up being stealthed behind your target, it will cast Shadowstep when you aren't stealthed, then if you don't press any modifier buttons, it will do Cheap Shot, but if you press Alt, Ctrl, or Shift when using the macro at that point, it will switch to using Garrote instead.

Now, if you start stealthed, and end stealthed with Shadowstep, you could change the macro to be:

#showtooltip
/castsequence [nomod][mod,nostealth] reset=combat/target/ctrl/alt/shift Shadowstep, Cheap Shot; Garrote

This should help. Note that I'm having the Shadowstep/Cheap Shot reset on combat status or target change, as well as pressing a modifier key (using Garrote) which should work. Now, if you have to be stealthed for everything, I'd recommend something like this:

#showtooltip
/castsequence [nostealth] Stealth; [nomod] reset=combat/target/ctrl/alt/shift Shadowstep, Cheap Shot; Garrote

Which would make it cast Stealth if you aren't stealthed first.

Like others have said, you can't make a macro that automatically detects/changes based on your target's class. You have to remain in control to figure that part out.