1. #1
    Deleted

    need help with taunt macro

    i am currently using this macro for taunting:

    Code:
    #showtooltip Righteous Defense
    /cast [target=mouseover]Righteous Defense
    /cast [target=mouseover][mod=shift] Hand of Reckoning
    the problem is: it always uses both. the point of this macro is to cast RD when it is a friendly target, or HoR when it is an enemy target, on the mouseover target.

    i know there are errors in there, but where? anyone who can help me?

    also, are there any other macros you can recommend for a pally tank? i already know about the debuff remover, but any other macros?

  2. #2

    Re: need help with taunt macro

    Quote Originally Posted by nzall
    i am currently using this macro for taunting:

    Code:
    #showtooltip Righteous Defense
    /cast [target=mouseover]Righteous Defense
    /cast [target=mouseover][mod=shift] Hand of Reckoning
    the problem is: it always uses both. the point of this macro is to cast RD when it is a friendly target, or HoR when it is an enemy target, on the mouseover target.

    i know there are errors in there, but where? anyone who can help me?

    also, are there any other macros you can recommend for a pally tank? i already know about the debuff remover, but any other macros?
    Ehh, I'm no macro expert but perhaps change it to [modifier:shift], then again I be wrong.

  3. #3

    Re: need help with taunt macro

    Quote Originally Posted by bertugolu
    #showtooltip Righteous Defense
    /cast [target=mouseover] [modifier:shift] Righteous Defense; Hand of Reckoning

    If u press shift Righteous Defense is casted, else hand of reckoning is casted
    Yes, this is a good one, it simplifies the code a good bit.

  4. #4

    Re: need help with taunt macro

    Mod and Modifier do the same thing btw :P

  5. #5

    Re: need help with taunt macro

    Code:
    #showtooltip Righteous Defense
    /cast [target=mouseover,harm][mod:shift] Hand of Reckoning; [target=mouseover,help] Righteous Defense
    This should do the trick.


  6. #6

    Re: need help with taunt macro

    You're confusing the macro system.

    Code:
    /cast [target=mouseover]Righteous Defense
    This is correct, but you should make it

    Code:
    [target=mouseover,exists,nodead]
    to prevent getting error messages in the heat of combat (usually not an issue in the current game but it never hurts unless you're hitting the character limit ceiling).

    Code:
    /cast [target=mouseover][mod:shift] Hand of Reckoning
    Here is the problem. This part of the macro tells WoW the following:
    1. If my mouse cursor is over a valid target, cast Hand of Reckoning.
    2. If it isn't, then check if I'm holding Shift down; if so, cast Hand of Reckoning anyway. Also, it's "mod:shift" not "mod=shift". The equal sign is only used for target instructions.

    What you want is:

    Code:
    /cast [target=mouseover,mod:shift] Hand of Reckoning
    Which tells WoW:
    1. If my mouse cursor is over a valid target, and I'm holding down Shift, cast Hand of Reckoning.

    But now you have a problem: your mouse cursor is over a valid target in both cases. However, Righteous Defense is only checking if your target has mouseover in order to go ahead and trigger. That means it will still trigger, even if shift is held down.

    Solve this by changing the first line to:
    Code:
    [nomod:shift,target=mouseover,exists,noharm,nodead]
    Which tells WoW to only use RD if Shift isn't down, and only use HoR if Shift is down.

    The final macro would look like (assuming error catchers):

    Code:
    /cast [nomod:shift,target=mouseover,exists,nodead]Righteous Defense;[mod:shift,target=mouseover,exists,nodead] Hand of Reckoning
    ... Because you can sequence multiple branches into one instruction (eg, one "/cast") as long as you separate them with a semicolon.


  7. #7

    Re: need help with taunt macro

    AudreyChandler is right. put everything in the same bracket seperated by commas. otherwise it treats them as separate conditions instead of all at the same time

  8. #8

    Re: need help with taunt macro

    I think he wants these conditions to be seperate. Doing so works well with the hostile/friendly feature he mentioned in the original post but totally lacked in his macro. It forces the macro to cast RD whether or not the target is friendly or hostile.


  9. #9
    Deleted

    Re: need help with taunt macro

    Quote Originally Posted by DesolatedMaggot
    I think he wants these conditions to be seperate. Doing so works well with the hostile/friendly feature he mentioned in the original post but totally lacked in his macro. It forces the macro to cast RD whether or not the target is friendly or hostile.
    this!

    my original idea for the macro was that it would cast RD when it is a friendly target, and Hand of reckoning when it is a hostile target. i then added the shift modifier to try and fix it.

    what i want, however, is a 2-in-1 macro, where it checks the following:

    1) is the mouse hovering over a target? if so: 2, if not: stop.
    2) is the target friendly: if so: 3, if not: 4.
    3) cast righteous defense.
    4) cast hand of reckoning.

  10. #10
    Herald of the Titans arel00's Avatar
    15+ Year Old Account
    Join Date
    May 2008
    Location
    Italy
    Posts
    2,852

    Re: need help with taunt macro

    Quote Originally Posted by nzall
    this!

    my original idea for the macro was that it would cast RD when it is a friendly target, and Hand of reckoning when it is a hostile target. i then added the shift modifier to try and fix it.

    what i want, however, is a 2-in-1 macro, where it checks the following:

    1) is the mouse hovering over a target? if so: 2, if not: stop.
    2) is the target friendly: if so: 3, if not: 4.
    3) cast righteous defense.
    4) cast hand of reckoning.
    #showtooltip Righteous Defense
    /cast [target=mouseover,harm] Hand of Reckoning; [target=mouseover,help] Righteous Defense;

    This is the exact command to do what you mentioned.
    Quote Originally Posted by Qieth
    I don't do math, blind assumptions work so much better for me.

  11. #11

    Re: need help with taunt macro

    Quote Originally Posted by nzall
    this!

    my original idea for the macro was that it would cast RD when it is a friendly target, and Hand of reckoning when it is a hostile target. i then added the shift modifier to try and fix it.

    what i want, however, is a 2-in-1 macro, where it checks the following:

    1) is the mouse hovering over a target? if so: 2, if not: stop.
    2) is the target friendly: if so: 3, if not: 4.
    3) cast righteous defense.
    4) cast hand of reckoning.
    Yep, the macro I posted earlier in the thread should cover this.


  12. #12

    Re: need help with taunt macro

    Righteous defense CAN be casted on mobs as well. it will go onto the Mob's Target for it's function.

    so i use 1 button incase the first one misses:

    /castsequence reset=8 Hand of Reckoning, Righteous Defense

    but i go by actual target and not mouseover.

Posting Permissions

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