Posted on: 09-09-2012 - Updated on: 02-01-2014 - viewed 11270 times
If you have a target when you have no focus this macro for Wow will set your focus and cast SpellName. If you cast with any target and you have a focus and are in range of your focus you will cast SpellName on the focus. Push CONTROL with this macro and it will clear your focus. Push SHIFT with this macro and it will change your focus to your target and cast SpellName.
#showtooltip /focus [@focus,dead,nomod][@focus,noexists,nomod] target /cast [@focus,nomod] SpellName /clearfocus [mod:ctrl] /clearfocus [mod:shift] /focus [@focus,dead,mod:shift][@focus,noexists,mod:shift] target /cast [@focus,mod:shift] SpellName