Need help with a macro please

I’ve found the following macro:

/cast [@mouseover,exists][help][@player] Devour Magic

  • Casts Devour Magic at your mouseover target (if there is one), casts Devour Magic at your target if your target is an ally, casts Devour Magic at yourself if you have no mouseover target and your target is not an ally (or you have no target).

It does exactly what it says, but I was wondering if there’s something I can change so that it also casts Devour Magic on my target (enemy) if there’s nothing on me to dispel?

Try this…

#showtooltip /cast [@mouseover,help]Devour Magic;[@mouseover,@target,harm]Devour Magic; []Devour Magic

Thanks, it does dispel my target now, but it doesnt prio myself first. I want it to try to dispel myself first and if nothing to dispel, then dispel my target

like if im in a sheep, i want it to dispel me and not my target. If im not in sheep, dispel target enemy

I would like to know if there is a macro like this as well. I have the self dispel macro, but one that does all this would be GOLD.

This is not possible. Macros are not designed to make decisions on players behalf

There is no way to conditional that will have it devour enemy if nothing is on you. You have to make that decision. You can’t automate.

The best thing you can do is just use the modifier for yourself at all times.

what do you mean? it’s already deciding for me if it should dispel mouse over or myself? I thought you could make it so it dispels target if no other condition is met

#showtooltip
/cast [@mouseover,exists] Devour Magic;  [@mouseover,harm,nodead] [harm] Devour Magic;[@player][help] Devour Magic

Oh well, this is the best it could do. It dispels enemy if enemy targeted, and dispels myself if I don’t target anything

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