Mouseover and target

Hey!
I’d like a macro that cast a healing spell on my mouseover without untargeting my target (enemy) and cast a harmfull spell on my target. So it’s 2 spells in one button where it priorotise the “mouseover one” over the “selected target one”.
Could anyone help with this? :slight_smile:
Example: Mouseover - cast Rip Tide, no mouseover - cast Flame Shock on target
/B

#showtooltip
/cast [@mouseover,help,nodead] Riptide; Flame Shock

Mind you, this will do nothing if you have a friendly target but no friendly mouseover (since it will try to Flame Shock your normal target). You could change it to

#showtooltip
/cast [@mouseover,help,nodead] Riptide; [harm] Flame Shock; Riptide

to cast Riptide if you have neither a friendly mouseover nor a hostile target.

#showtooltip
/cast [@mouseover,help,nodead] Riptide; [@mouseover,harm,nodead] [harm] Flame Shock; Riptide
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.