Originally Posted by
Moriat
Thanks for your help. There's one problem with that macro. If i have a target selected (and no mouseover target) the macro stops working. I would like a macro that dispels/purifies my target if no mouse over target exists.
It is, as the others were suggesting, that exists is not being checked where it should be. Here's a working one:
Code:
#showtooltip
/cast [@mouseover,help,nodead] Purify; [@mouseover,harm,nodead] Dispel Magic; [help,nodead] Purify; [harm,nodead][] Dispel Magic
I always forget that while help, harm, dead, party, raid all imply exists if they're true, the no___ version does not. E.g. "[@focus,dead]" is sufficient, but "[@focus,nodead,exists]" is necessary.
I put the [] at the end to keep it from not knowing what to do without a target. It does sort of seem like Purify would be a better choice there, though. If so, then:
Code:
#showtooltip
/cast [@mouseover,help,nodead] Purify; [@mouseover,harm,nodead] Dispel Magic; [help,nodead] Purify; [harm,nodead] Dispel Magic; Purify
Sorry I didn't get it right the first time .