Smite mouseover issue

Hello I’m having an issue where if say im targeting the tank and I cast my smite macro it will change my target to the mob. This behavior doesn’t happen with my holy fire macro though

#showtooltip
/use [@mouseovertarget,harm]Smite;[@targetoftarget,harm]Smite;Smite

This behavior I noticed only happens if im holding down right click which I have a habit of doing to move my camera around, but if im moused over the tank it doesn’t switch the target

Well first off, targetOFtarget isn’t a valid unit; it should be targettarget

#showtooltip
/use [@mouseovertarget,harm,nodead] [@targettarget,harm,nodead] [] Smite

See if those edits fix it.

You could also enhance it to the following:

#showtooltip
/cast [@mouseover,harm,nodead] [harm] [@mouseovertarget,harm,nodead] [@targettarget,harm,nodead] [] Smite

Mouseover Enemy: Cast on Mouseover
Target Enemy: Cast on Target
Mouseover Friend Targeting Enemy: Cast on Friend’s Target
Target Friend Targeting Enemy: Cast on Friend’s Target
Default casting behavior. This condition also serves to generate the correct tooltip.

thanks ill give it a shot

How would you add the [nochanneling:Penance] to this macro?

#showtooltip Smite
/stopmacro [nochanneling:Penance]
/cast ... (as written)
1 Like

What Ehiz said but don’t hard set the tooltip or it wont rangefind properly.