View Single Post
02-25-12, 04:07 AM   #17
Cowmonster
A Cyclonian
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 40
Originally Posted by Gaidinward View Post
Any way you could compile these into a list for those of us who really suck at anything to do with macros?
Okay making a big list of all the spells a healer may want to macro in this fashion would be very pointless, but maybe a little breakdown of the macro would help.

Code:
#showtooltip
/cast [condition] spell
The first line tells the button (if you use the big red question mark) to show the tooltip for the spell and the icon.

The second line is the line that casts the spell.

The breakdown of the second line is pretty simple. The first bit there /cast tells blizzard we are going to cast a spell. The second bit is the conditional statement which if true lets us proceed to casting our desired spell in part three.

The conditional statement(s) can be used individually or grouped together, so we can do something like:

Code:
#showtooltip
/cast [@mouseover,nodead,noharm,exists][] Healing Wave
In this macro the first conditional statement has several condition

@mouseover means we will be targetting the player or npc under our mouse pointer.
nodead the target can not be dead or the conditional statement fails.
noharm the target can not be hostile to us or the statement fails.
exists there has to be a target or the statement fails.

In the second statment [] there are no conditions whichs means it defaults to always true so if our first statement fails we will always still cast the spell on our default target.

This has all been a very convoluted way of saying replace Healing Wave with the name of the spell you wish to use and the rest of the macro will never change, but I hope at least some of the information helps you understand macros a little better.
__________________


Author of:
Equipped Average Item Level :: ExtraBar :: Killing Blow Emote :: RecordTip
  Reply With Quote