User:Azaram/My Macros

This is mainly a repository for the macros I use, but if other people find them useful, here they are.

Powershift
/cast [stance:1] !Dire Bear Form /cast [stance:2] !Aquatic Form /cast [stance:3] !Cat Form /cast [stance:4] !Travel Form

Shift from form X to form X. This has the effect of removing snares/roots and gives a shot of energy or rage from Furor. Because it's a direct shift, there's no chance of being hit in caster. The exclamation point prevents it from shifting out if you're on a global cooldown.

Maim/Lacerate/HT4
/cast [stance:1] Lacerate; [stance:3] Maim; [nostance] Healing Touch
 * 1) showtooltip

This puts two of my form dependent moves on one button, plus healing touch when I'm in caster. If I'm in bear, it shows lacerate, if I'm in cat it shows maim, if I'm not in either it shows healing touch. Seal or bird shows the ? icon. But, since you can't do anything in those anyway...

Pounce/Savage Roar
/cast [nostealth] Savage Roar; [stealth] Pounce
 * 1) showtooltip

Pounce is only usable from stealth. Savage Roar is a finishing move. Once you're out of stealth, pounce is a wasted button, so this switches between depending.

Hunter
' NOTE: These shot macros are woefully'' outdated now. Mainly still here because the 'identify the button' one is still useful, and for figuring out how to do other things.'''

Aimed shot + DPS trinket (if available)
Used with Trinketmenu, which rotates trinkets as their cooldown becomes available. (Gives 'you must equip' or 'not ready yet' errors if the trinket isn't ready for whatever reason.) Only one of the trinkets can be used at a time, even if both are ready; this will use the better one first.

/use Bladefist's Breadth /use Ogre Mauler's Badge /cast Aimed Shot
 * 1) show Aimed Shot

Since the Devilsaur Tooth was made as completely worthless as the Charm of Swift Flight, I took those two macros out.

Pull shot
Low-calorie low hate instant shot that taps the target but does so little damage your pet (or tank) can easily pull it off you, and turns off auto-shot so you don't plink it more. /cast Arcane Shot(Rank 1) /stopcasting
 * 1) showtooltip

Edit: This doesn't seem to work anymore. Not to mention that rank 1 arcane shot costs more than the rank 14 or whatever the max currently is. Someone has suggested using /target (yourself) instead of stopcasting to detarget whatever you're shooting at.

Auto Shot macros
(WOLTK Note; tested on the PTR. It does work, but since kill command is now a +pet-crit% you may or may not want to use it every time it's up as this does.)

Live WOLTK note: Now it's a decreasing damage increase, so using it as often as possible should be ok. This does still work, too.

Two macros that go together, plus one to identify which button to feed to the first one.

Macro 1 (This one you frob repeatedly, use with any pet but windserpent):

/console Sound_EnableSFX 0 /cast !Auto Shot /cast Steady Shot /use 10 /click [target=pettarget,exists] The button name from the 'identify the button' macro /console Sound_EnableSFX 1 /script UIErrorsFrame:Clear
 * 1) showtooltip Steady Shot

The '/use 10' line fires my Hand-Mounted Pyro Rocket when it's available.

Macro 1 (for use with wind serpent) /console Sound_EnableSFX 0 /cast [target=pettarget,exists] Lightning Breath /cast !Auto Shot /cast Steady Shot /click [target=pettarget,exists] The button name from the 'identify the button' macro /console Sound_EnableSFX 1 /script UIErrorsFrame:Clear
 * 1) showtooltip Steady Shot

The third line makes your pet horf up a lightning shot whenever it can, without backing off to get at range.

Macro 2 (This one is run by the first) /castsequence reset=4 Kill Command, !Auto Shot, !Auto Shot, !Auto Shot

Identify the button macro /run local f = GetMouseFocus; if f then DEFAULT_CHAT_FRAME:AddMessage(f:GetName) end If you're using a bar replacement mod like Bongos or Bartender, put this in the chat window, mouse over the desired button, and hit enter. Replace the bold text in Macro 1 with the name that appears. On my Bongos 2, the bottom right button is BongosActionButton24. Unfortunately, the first time you run it after starting the game or reloading the UI, you get 'Bongos2 has done a Bad Thing that only Blizzard can do'. It does work if you put the macro on a hidden bar, as well, at least with Bongos2.

Discussion page on how this works, in case it does something Evil.  Page for new macro, not totally useful. 

From the info sticky, the reason for the two separate macros: One MAJOR benefit to this macro - Kill Command and all hunter shots are on SEPARATE macros - meaning if Kill Command "locks" - your shots are not locked with it! You can continue to fire, usually getting another critical strike within a few moments, and "unlock" Kill Command. Occasionally you will still end combat in a "locked" state, where you will not be able to feed your pet, open chests or doors, etc. This is a KNOWN BUG that Blizzard is currently in the process of fixing (supposedly) - to unlock from this state, you must either (1) enter combat, get a critical strike AND cast Kill Command, or (2) Re-log via ALT-F4 (you can't even hit Esc to access the options menu while "locked). The cause of the lock is KC attempting to trigger simultaneously with the start of the casting of another spell, having KC where it is in this macro reduces this occurring, as well as separating the macros so when it does occur, it doesn't prevent you from continuing to fire.

The other key thing to note - SEPARATED MACRO ALLOWS YOU TO DPS A DIFFERENT TARGET THAN YOUR PET. Your macro will mess you up if you try to use it on a target other than the one your pet has, and will end up changing your pet's target to your own, and sometimes changing your target to your pet's.

New macro, fires arcane shot whenever it's up.
1) UNTESTED as of now, from BRK, here

/script UIErrorsFrame:UnregisterEvent("UI_ERROR_MESSAGE"); /castsequence reset=3/combat Arcane Shot, Steady Shot, Steady Shot, Steady Shot;

2) UNTESTED as of now; from a poster named Haukness on same post as above.

/console Sound_EnableSFX 0 /castrandom Arcane Shot, Null /cast Kill Shot /cast Steady Shot /cast [target=pettarget, exists] Kill Command /console Sound_EnableSFX 1 /script UIErrorsFrame:Clear
 * 1) showtooltip Steady Shot

Drain Life/Soul/Soul
I tend to forget to do drain soul for a while, until I get my warlock reflexes. This makes it a bit easier on me because it's the same button. My warlock is 63 at the moment, which is why the downranked spells. And I tend to spaz on whichever button, so I set two of them to change it. Never bother with drain mana, it does so little... I changed the ctrl one to use rank 1 for purposes of getting more mana back than it spent.

/cast [nomodifier] Drain Life(rank 5) /cast [mod:alt] Drain Soul(rank 4) /cast [mod:ctrl] Drain Soul(rank 1)
 * 1) showtooltip

Ground mount with Crusader
Note: Replaced both of these with the mod GupPet on all my characters, since I have so many mounts now that I ran out of room in the castrandom macro I'd been using.

Casts Crusader aura and mounts at the same time. Clicked again, dismounts and casts retribution aura. /cast [nocombat, nomounted] !Crusader Aura; [mounted] !Retribution Aura; /cast [nocombat, nomounted] Charger /dismount
 * 1) showtooltip Charger

Flying mount with crusader
Same as above with a flying mount. /cast [nocombat, nomounted] !Crusader Aura; [mounted] !Retribution Aura; /cast [nocombat, nomounted] Golden Gryphon /dismount
 * 1) showtooltip Golden Gryphon