Disc priest macro help

trying to figure out how to fix this macros, i believe it has something to do with it having healing/ damage qualities.

The Macro is for Penance

#showtooltip
/cast [mod:shift,@player][@mouseover,nodead][] Penance

it does everything i want it to in a mouseover sense and the shift modifier works great as well, the only thing it wont do is work if im just targeting someone let it be a player or a enemy it will not work and says i have no target, ive tried added @target inbetween those final brackets and still nothing. thanks for any help

try this:

#showtooltip
/cast [mod:shift,@player][@mouseover,exists,nodead] Penance; Penance;

You’re missing an existence check on your mouseover condition which is why it isn’t working properly.

#showtooltip
/cast [mod:shift,@player] [@mouseover,exists,nodead] [] Penance

https://warcraftpriests.com/macros/#penance