in your browser.
Focus magic macro for Water elemental
Return to board index
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
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?
Edit: OP deleted the post asking for help after stating he'd read the stickies >_<
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
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:
Then you don't even have to hold down shift.
Might want to just make that  Focus Magic... Yours will cast on pet if in a raid...
is true? Or am I mis-remembering that.
Yeah, according to WoWWiki:
is equivalent to . implies
God my memory is failing me today... Thank you for the correction, pelf.
We've got a whole support system here. I got your back, yo.
You are not logged in. Please
to post a reply or
if you don't already have an account.
Connect with Wowhead
Other Fanbyte Sites
Hearthstone Top Decks
Final Fantasy XI
© 2021 Fanbyte