@mouseover, harm macro

#showtooltip
/cast [@mouseover, exists, harm] Moonfire; [] Moonfire

Want it to cast at mouseover if there is one, if not cast at target. Not working. Only casts at target. Nothing happens if there is no target.

Edit:
Fixed it.
/cast [@mouseover, harm, nodead]

#showtooltip
/cast [@mouseover,harm,nodead] [] Moonfire
1 Like