Need help with mouseover Help/Harm with self cast on no target, prioritise mouseover macro

Hello, I am trying to reduce button keybindings on my shaman for pvp. I’ve done a lot of googling and trying out different ideas but not found a solution yet. I am trying to achieve the following:

I press the button and:

  • Lightning Bolt my mouseover target if exists/harm.
  • Healing Wave my mouseover target if exists/help.
  • If no mouseover target and my normal target is harm - Lightning Bolt.
  • If no mouseover target and my normal target is help - Healing Wave.
  • If no target or mouseover target, Healing Wave myself.

About the best I can do at the moment is

#showtooltip
/cast [@mouseover, help, nodead][help,nodead]Healing Wave;[@mouseover, harm, nodead][harm,nodead]Lightning Bolt
/cast Healing Wave

This almost works but if I for example target a friendly and mouseover an enemy and use the skill, it heals the target instead of lightning bolting my mousever enemy.

I basically just want to lightning bolt or healing wave my mouseover target (depending if they are help or harm), if they don’t exist I want to lightning bolt or healing wave my target (depending if they are help or harm), and if THAT doesn’t exist, i.e. i have no target at all, healing wave myself.

But I am not that good with writing macros that get this complicated.

Any help is appreciated!

#showtooltip
/cast [@mouseover,help,nodead] Healing Wave; [@mouseover,harm,nodead] [harm] Lightning Bolt; Healing Wave
1 Like

Hey that solves it exactly. Thanks a bunch. I tried for a while to get this working through google but nadda. Much appreciated!

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