TBC Pally Righteous Defense Maco Help

I am trying to make a Righteous Defense macro that covers all my bases. It should:

  • Be used on a friendly player if I mouse over them
  • Be used on a friendly player if I have them targeted
  • Be used on a enemies target if I mouse over them
  • Be used on a enemies target if I have them targeted

Does this look like it will do the above or is there a better way? Thanks for any help!

#showtooltip /use [@mouseover, help, nodead][help]Righteous Defense; [@mouseover, harm, target=targettarget, nodead][harm, target=targettarget, nodead]Righteous Defense;[]Righteous Defense;

1 Like

You want this without the alt self cast:

#showtooltip
/cast [@mouseover,help,nodead] [help] [@targettarget,help,nodead] [] Righteous Defense
1 Like