1. #1

    Spirit Mend/Self/Focus macro

    Is it possible to make a macro that when you left click on the icon, it casts it on yourself, and if you right click, it casts it on your focus, and if you don't have a focus it casts it on your pet?

  2. #2
    Warchief Serj Tankian's Avatar
    10+ Year Old Account
    Join Date
    Apr 2010
    Location
    United States & Germany
    Posts
    2,176
    I believe this would work, have not tested.

    #1
    Code:
    #showtooltip Spirit Mend
    /cast [button:1] Spirit Mend
    /cast [button:2][@focus] Spirit Mend
    Perhaps you could try this one for the pet

    #2
    Code:
    #showtooltip Spirit Mend
    /cast [button:1][@pet] Spirit Mend
    /cast [button:2][@focus] Spirit Mend
    Edit: Added #2.

    #3
    Code:
    #showtooltip Spirit Mend
    /cast [target=focus, exists, nodead],[target=pet, exists, nodead] Spirit Mend
    Edit: I am 99.9% certain that #3 will work perfectly as it is my Misdirect macro with the MD changed to Spirit Mend.
    Edit: Also with #3 there is no need for right or left clicking. But here's another to try and help with that.

    #4
    Code:
    #showtooltip Spirit Mend
    /cast [button:1][target=player],[button:2][target=pet] Spirit Mend
    Now that last one I am not 100% certain if it will work or not.

    Edit: You can also switch "[target=????]" with [@????]" They do the same thing.
    Last edited by Serj Tankian; 2011-03-13 at 12:44 AM.

  3. #3
    Would something like this work?

    #showtooltip Spirit Mend
    /cast [button:1] Spirit Mend
    /cast [button:2][@focus,nodead][@pet] Spirit Mend

    If I'm reading it correctly, if I left click, it'll cast on myself, if I right click it, it'll cast it on my focus target, if it's alive. If I don't have a focus, or it's dead, it'll cast it on my pet?

    ---------- Post added 2011-03-12 at 07:20 PM ----------

    This works:

    #showtooltip Spirit Mend
    /cast [button:2] [@saedora] Spirit Mend <<<<<<<<<<(put your name in here)
    /cast [button:1] [target=focus, exists, nodead],[target=pet, exists, nodead] Spirit Mend

    left click to cast on yourself, right click to cast at your focus, or pet, if your focus doesn't exist.
    Last edited by redsunrising15; 2011-03-13 at 01:55 AM.

  4. #4
    You can use "player" to indicate casting onto yourself.

    /cast [button:2] [target=player] Spirit Mend

  5. #5
    Deleted
    Euhm... I use this. Works like a charm!


    /tar YourNameHere
    /use Spirit Mend

  6. #6

    Hunter heals FTW!!!!

    The one above makes you switch targets to yourself.....this is not good in the middle of a fight so I tweaked it a little...In order to use my macro you will have to set YOURSELF as your focus..... similar to the way you do tanks in raids for your MD macro.....this way you don't have to switch targets mid fight!


    /cast [target=focus] Spirit Mend



    Saltydawgz of Undermine

  7. #7
    how about /cast [target=yournamehere] Spirit Mend?

    I just have it on auto cast. Sometimes my little one is smart and will cast it on someone whose low on health, other times he just sits there going "what do?"

    EDIT: Was talking to the person just above me, for some reason it didnt show anyone elses posts so it looked like s/he was the thread creator. My badness

  8. #8
    #showtooltip Spirit Mend
    /cast [button:2][target=player] Spirit Mend
    /cast [button:1][target=focus, exists, nodead],[target=pet, exists, nodead] Spirit Mend

    This should do the trick. Left-click casts on yourself, right-click casts on your focus if you have one or your pet if not.

  9. #9
    #4
    Code:
    #showtooltip Spirit Mend
    /cast [button:1][target=player],[button:2][target=pet] Spirit Mend
    Now that last one I am not 100% certain if it will work or not.

    You have to be 100% sure Coz you are.

  10. #10
    This one works as what OP wants, just tested:
    /cast [button:1,@player] Spirit Mend; [button:2,@focus] Spirit Mend; [@pet] Spirit Mend

    When you create macros with conditions, if you type
    /cast [condition A][condition B] Spell
    What it means is: "if Condition A OR Condition B then cast Spell.

    In order to make them have 2 conditions at once, you gotta type it like this:
    /cast [condition A, Condition B] Spell
    Which would mean "if condition A AND condition B then cast Spell"
    Last edited by Sylar Hao; 2012-09-05 at 09:27 PM.

  11. #11
    Mend pet would like to say hello

  12. #12
    LeyrHao: How could that be modified, like if i wanted to have Shift+Button 1 or 2.

  13. #13
    @Danko215: just include the modifier as

    /cast [mod:shift, button:1] Spirit Mend

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •