Showing posts with label macro. Show all posts
Showing posts with label macro. Show all posts

Useful macro habits

There's already an excellent guide for making macros and a catalog of the options at WoWWiki's Making A Macro page.

If you're an absolute beginner and want to get in on the helpful world of macros, go ahead and click that link, read that page (or at least make sure you understand how to do most basic functions) then come back here.


I'll be discussing habits that I personally use and have seen friends use to make life easier using macros. If you've ever said to yourself, "Wow, macros seem amazing! But where do I start?" then you've reached the right blog post.

Use #showtooltip
Adding #showtooltip as the first line in a macro will let you read the spell tooltip by hovering over it. In a macro like the following:

#showtooltip
/cast [mod:shift] Frostbolt; Fireball

...you will get to read the Fireball tooltip naturally, and the Frostbolt tooltip when you hold down shift. You won't have to open up the spellbook and find them to see how much damage they do or what their mana cost is.

Also, if you choose the giant question mark icon, it will show the spell icon naturally... and the icon will change! In the above example, it would show the fireball icon normally, and then the frostbolt one if you hold down shift!


Choose icons that stand out
If you have an ability that you MUST be watching the cooldown on, macro it, give it the #showtooltip line, and choose an icon that's bright and you can't miss. For an arcane or frost mage, a bright red or green icon will stand out wonderfully.

Keep in mind that if all your macros use bright icons, your bars will be overwhelming to look at, and nothing will stand out at all! I would only suggest three bright/noticeable icons at most. Two or even just one is further recommended.


Group spells that don't trigger the global cooldown

Trinkets, Potions, Arcane Power, Heroic Strike... These can be grouped together and used in one macro. My example is as follows:

/cast Arcane Power
/use Potion of Wild Magic
/use Mark of the War Prisoner
/use Mana Sapphire
/cast Icy Veins
/cast Arcane Blast

Only the final spell in this macro triggers the global cooldown.

Using this will activate my AP and IV, use my trinket and an offensive potion, restore some mana using a mana gem, then start casting an Arcane Blast. I named this macro "Combust" and gave it a bright red icon. You might guess why! Be sure your tank has adequate threat lead before using...


Use left and right mouse buttons for out-of-combat buffs
The abilities you don't have keybound (the very select few!) can be grouped by using [mouse:1] for left click and [mouse:2] for right click. Using those pesky paladin buffs as our example:

#showtooltip
/cast [mouse:1] Greater Blessing of Might; [mouse:2] Blessing of Might

to take it one step further, we could remove [mouse:2]. That way, if you keybind it, or click it with a third mouse button, it will still cast something.


/startattacking!
Melee and hunters should change all of their primary offensive abilities to have /startattack as the last line - or first line if the ability has a cast time. (I'm looking at you, Steady Shot!)

/cast Icy Touch
/startattack

It's that simple!


That's it for now. Put em to use, find some more, and comment if you have any good ones I haven't posted!

The perfect mount macro

This macro was taken from the Arena Junkies macros page and edited by myself.

/run if IsMounted()then return end local t if((GetRealZoneText()=="Dalaran") and (GetSubZoneText() ~="Krasus' Landing") or (GetZoneText()=="Wintergrasp") or not IsFlyableArea()) then t={9} else t={1} end CallCompanion("MOUNT",t[random(#t)])
/dismount

You have to edit the t={9} and {1}. You want the 9 to be your ground-mount, and 1 to be your flying mount.

The numbers are taken straight from your mounts panel (Shift-P by default), your upper left mount is 1 and your bottom right mount is 12. The first mount on the second page is 13. For me, my Swift Palomino is the 9th mount in my mounts panel. The Azure Netherwing Drake is the first mount in my panel.

Mounts are arranged alphabetically in your mounts panel, so my Swift Palomino will become number 10 once I learn a new mount named "Cobalt Netherwing Drake".

Unfortunately, this macro takes 250 characters, which leaves no room for modularity. You can't put [mod:shift] conditionals to it to make it force-cast your ground mount (which it shouldn't need anyways, but might be nice to have).

I previously had an alt-click cast Slow Fall on myself as I love jumping off of high places and having a quick safety-button, but I won't be able to do that with this macro.

Players who don't have a 280% speed mount: If you haven't learned flying or are in Northrend and haven't learned cold-weather flying, you shouldn't use the above macros. If you are in Outland or Northrend, have the appropriate flying skill, and only have a 60% flying mount, then you might prefer a more modular approach, letting you cast your fast ground mount more often than your slow flier.

#showtooltip
/cast [mod:shift] Slowflying Mount; Fast Ground Mount

The #showtooltip line is a convenience line, you'll find it comes in very handy. If you choose the Question Mark icon for your macro, it will change to show your preferred mount all the time.

This will always cast your Ground Mount unless you hold shift while clicking the macro. Other options are to cast your slow flier all the time in flying zones unless you specify otherwise.

#showtooltip
/cast [mod:shift] Ground Mount; [flyable] Flying Mount; Ground Mount

This will cast Ground Mount if you hold shift, otherwise it will try to mount your flying mount, and then your non-flying. It works in any non-Dalaran, non-Wintergrasp scenario.

--

Hopefully, with these macros you'll be able to unclutter your action bars by removing multiple mount buttons and it will save you some confusion over choosing which mount to use and when.