Paladin Macro

#showtooltip
/cast [@mouseover,help][help][target=targettarget,harm][]blessing of Protection
So this will cast on 1) mouse-over friendly 2) friendly target 3) target of of my target then lastly 4) myself.

Is this order correct?

Why is it [target=targettarget,harm]? shouldn’t it be [target=targettarget,friendly]?

Each macro is evaluated top-to-bottom, 1 line at a time, and each line is evaluated left-to-right. Wow stops processing the line when it hits a condition that is “true”.

#showtooltip
/cast [@mouseover,help][help][@targettarget,help][]blessing of Protection

Order of casting

  1. Mouseover if a friend
  2. A friendly you have directly targeted
  3. If you are targeting an enemy, and it is attacking a friendly (help) unit, you will cast on that friendly
  4. Otherwise it will cast normally and if you have “auto self cast” enabled in the game options it will cast on you.

Check out the Templates post by Elvenbane stickied at the top of this forum, it has tons of macro that intelligently use mouseover, etc…

2 Likes

10 characters

1 Like