I want a macro that will shadowstep my target, friendly or enemy but will do my mouseover target instead, only if it’s friendly.
I use this one
/cast [@mouseover]Shadowstep;Shadowstep
but it’s not casting when I have a target and no mouseover
I want a macro that will shadowstep my target, friendly or enemy but will do my mouseover target instead, only if it’s friendly.
I use this one
/cast [@mouseover]Shadowstep;Shadowstep
but it’s not casting when I have a target and no mouseover
I don’t know the specifics of how shadowstep works, but . . .
#showtooltip
/cast [@mouseover,exists][exists][]Shadowstep
. . . might do the trick.
I’m assuming that you mean mouseover unit, not mouseover target (mouseover target is the target of your mouseover and I’m not sure it’s accessible that way).
Worked perfectly. Thanks!
Mouseover requires some sort of existence check.
“help” and “harm” both check existence, but if you want both to work, the simplest answer is “exists” as a test.
The same sort of applies to your target unit check. With nothing there, it defaults to what the spell would do if you clicked it from the spellbook. But with “exists” in there, it will attempt to cast on a target (helpable or harmable) and if not, THEN default to “clicked it from the spellbook” (as in - you have to then click on a unit to make it work).
#showtooltip
/cast [@mouseover,exists,nodead] [] Shadowstep