Help with Penance macro

Hey!
Not a macro genius so…
I have this macro
/cast [@mouseover,exists,help] [harm] penance
Which is almost perfect for me except that if I mouseover an enemy it’s still heal myself.
I want it to do:
mouseover an alli-heal mouseover
mouseover an enemy-dps mouseover
target an alli-heal target
target an enemy-dps target
no target or mouseover-heal myself

Thank you in advance!

Do these not help?

Abilities that do both damage and/or healing are pretty much impossible to macro properly. Iirc Holy Shock suffers from similar issues.

I’ve given up on trying to macro it and settled for using Clique for mouseover healing and bound it on the same key on my action bar for Target damage.

1 Like

This macro will do what you’ve described:

#showtooltip
/cast [@mouseover,exists] Penance
/cast Penance

Keep in mind that the order of the macro will determine whats higher priority. If you have it like this, it will always cast on mouseover if you have one, and not only if you mouseover raid frames, but also if your mouse hovers over a character. If you dont have auto selfcast enabled, you might have to do it like this:

#showtooltip
/cast [@mouseover,exists][exists] Penance
/cast [@player] Penance

1 Like

If I didnt misunderstand the topic, regular pennance already does that, as long as you have mouseover healing enabled.

1 Like