This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Focus magic macro for Water elemental
Post Reply
Return to board index
Post by
Arazu
Hello
I need help making macro.
I would like one that puts Focus Magic on my water elemental when i hold shift down and on my target if i don´t hold down shift.
thanks in advance
Post by
Wanderingfox
http://www.wowhead.com/?forums&topic=128550
http://wowwiki.com/Macro
Come back when you've at least attempted to figure it out. There's nothing crazily complex about what you want to do, and about 5 minutes worth of reading ought to give you the answer. Why should we waste our time writing your macro when you're not even going to bother reading stickies?
Post by
Wanderingfox
Edit: OP deleted the post asking for help after stating he'd read the stickies >_<
Sigh, alright...
Baby steps:
First, the spell you're trying to cast is Focus Magic, so our initial macro looks like this:/cast Focus Magic
Next you want it to cast on your Elemental (ie. your pet) when you hold shift. In order to specify these conditions we have to put them inside of square brackets . To change what the cast targets we need to use a target= condition, which accepts any valid unitID, so the macro changes to:/cast Focus Magic
But we only want this to happen when shift is held down so we need to use the modifier condition, and we only want it to happen on shift so we need to specify this as well. This changes the macro to:/cast Focus Magic
Finally, you want the macro to cast on your current target if you don't hold shift (this is default behavior), so we add a blank set of conditions /cast
That's the macro you're looking for in it's most basic form. However, the part of the macro that casts on your pet does not check to see if the pet is alive or if it exists at all, so you may wish to change it to this:/cast Focus Magic
nodead implies exists because if it's alive it obviously exists
Finally, we can shorten the macro a bit by using some short-hand:/cast
Post by
UKLooneyJr
If it is so you cast Focus Magic on your pet while soloing, and on a party member while in a group, you could just do:
#showtooltip
/cast
Then you don't even have to hold down shift.
Post by
Wanderingfox
Might want to just make that [] Focus Magic... Yours will cast on pet if in a raid...
Post by
pelf
Actually, isn't
group:party
true if
group:raid
is true? Or am I mis-remembering that.
Yeah, according to WoWWiki:
is equivalent to . implies
Post by
Wanderingfox
God my memory is failing me today... Thank you for the correction, pelf.
Post by
pelf
We've got a whole support system here. I got your back, yo.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.