Close
Showing results 1 to 6 of 6
  1. #1

    Default Auto target self macro for certain spells?

    I was wondering if anyone here had any idea of how to write a macro to autocast spells on yourself like for instance im running a 5 blood dk group right now and need to make a macro for them to cast hysteria on themselves even while targetting another player or w/e?

    I know its possible just have no idea on how to do it :/

  2. #2
    Member
    Join Date
    Sep 2008
    Location
    Calgary, AB and Vancouver, BC
    Posts
    7638
    Blog Entries
    2

    Default

    When you do conditionals in a macro, it tries the each in sequence until it finds one that is valid.

    For example...
    /cast [help] Renew; [help, target=targettarget] Renew; [target=player] Renew

    If your target is friendly, it will cast renew on them.
    If that does not work, then it will try to cast renew on the target of your target, provided that is also friendly.
    If both factors are false, then it will target yourself with a renew.

    [target=player] targets the macro at your character.
    For a targetable spell, you could include this..

    /cast [target=player] Power Word: Fortitude

    For a spell which cannot be cast on others, such as inner fire, you wouldn't need to include target=player, since that's the only option.

    Obviously you don't have priest spells, but this is easily adapted to whatever.
    A last one...

    /castsequence [target=player] Inner Fire, Power Word: Fortitude, Divine Spirit

    The inner fire doesn't need target=player, but the other two do, and if its part of the sequence then it is redundant for one spell, but required for the other two.

  3. #3

    Default

    Very nice thank you :-) The problem with hysteria being cast on one person multiple times (other then the 20% damage boost not stacking of course) is that even though the damage boost dosent stack the 1% health drained per second DOES lol so that would really stink to be having happen while fighting a boss who is targetting my main guy... just what he needs -5% health per second >< but now I can make em all crack themselves out
    Quote Originally Posted by 'Ualaa',index.php?page=Thread&postID=148466#post14 8466
    When you do conditionals in a macro, it tries the each in sequence until it finds one that is valid.

    For example...
    /cast [help] Renew; [help, target=targettarget] Renew; [target=player] Renew

    If your target is friendly, it will cast renew on them.
    If that does not work, then it will try to cast renew on the target of your target, provided that is also friendly.
    If both factors are false, then it will target yourself with a renew.

    [target=player] targets the macro at your character.
    For a targetable spell, you could include this..

    /cast [target=player] Power Word: Fortitude

    For a spell which cannot be cast on others, such as inner fire, you wouldn't need to include target=player, since that's the only option.

    Obviously you don't have priest spells, but this is easily adapted to whatever.
    A last one...

    /castsequence [target=player] Inner Fire, Power Word: Fortitude, Divine Spirit

    The inner fire doesn't need target=player, but the other two do, and if its part of the sequence then it is redundant for one spell, but required for the other two.

  4. #4

    Default

    you missed the point.
    type in exact macro:
    "/cast [target=player] hysteria"
    it'll auto cast on self.

  5. #5

    Default

    Quote Originally Posted by 'warcrazy',index.php?page=Thread&postID=149257#pos t149257
    you missed the point.
    type in exact macro:
    "/cast [target=player] hysteria"
    it'll auto cast on self.
    I did it worked fine but i've been flipping around the spec's a bit to try and get something more effective going. But the macro worked prefectly :-)

  6. #6

    Default

    Quote Originally Posted by 'Ualaa',index.php?page=Thread&postID=148466#post14 8466
    For example...
    /cast [help] Renew; [help, target=targettarget] Renew; [target=player] Renew
    That can be rewritten much more efficiently.

    /cast [help] [target=targettarget, help] [target=player] Renew

    Each [ ] serve as an OR statement, 1st[] OR 2nd[] OR 3rd[]. Just some fun facts :P

Similar Threads

  1. auto-aimed spells?
    By Dsutton in forum General WoW Discussion
    Replies: 9
    Last Post: 03-26-2009, 03:55 PM
  2. Auto Attack/Auto Target Macro
    By kramer26 in forum Macros and Addons
    Replies: 4
    Last Post: 01-12-2009, 06:23 AM
  3. Clone Auto target its Mains(Focus) target ?
    By Rygh in forum New Multi-Boxers & Support
    Replies: 3
    Last Post: 07-24-2008, 11:11 PM
  4. Replies: 1
    Last Post: 06-02-2008, 11:17 PM
  5. Auto Focus, target, follow, Cast Macro
    By Fused in forum Macros and Addons
    Replies: 8
    Last Post: 04-23-2008, 04:01 AM

Posting Rules

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