Macro help

Hi Guys,

I have been sat here all morning trying to get various versions of this to work. Can anyone with a bit of macro knowledge give me a hand?

I need a macro to do the following:
Cast Remove Curse at mouseover on Friendly Target as priority when Alt is held down, then Myself when Alt is held down if no mouseover.
With no modifier I want it to cast Spellsteal at my Hostile Target and with Shift held down, at my focus.

I hope this makes sense, this is what I currently have:

#showtooltip
/cast [mod:alt,@mouseover,noharm,nodead]remove curse;[mod:alt,@self]remove curse;[nomod,@target,harm,nodead]Spellsteal;[mod:shift,@focus,harm,nodead]Spellsteal

The current outcome is that mouseover, works, target and focus works but @self (also tried @player)doesn’t work at all. Even if I have no target, no focus and no mouseover, it says I have no target when Alt is held.

Thanks in advance for anyone who can help :smiley:

Try:

/use [mod:alt,@mouseover,help,nodead][mod:alt,@player] Remove Curse; [mod:shift,@focus][nomod] Spellsteal

It works like you described, except Spellsteal makes no target check if you hold no modifier. Because that way you don’t turn the macro into a question mark if you have a friendly target, or no target.

I would also consider this change:

/use [mod:alt,@mouseover,help,nodead][mod:alt] Remove Curse; [mod:shift,@focus][nomod] Spellsteal

This casts Remove Curse normally if you have no friendly mouseover. What this means is if you have a friendly target, it will cast on them. If you have a hostile target, it will still cast on you.

You can add back the conditionals to Spellsteal if you want. I don’t think they are needed; for example, a dead focus target is automatically cleared anyway, and I doubt that if you have a friendly focus you’re going to try to Spellsteal it.

By the way, noharm and help are not the same. There are plenty of NPC’s you can’t attack but also can’t buff/heal.

Thanks a lot for the help, I’ll give it a go as soon as I get back home

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