This site makes extensive use of JavaScript.
Please
enable JavaScript
in your browser.
Classic Theme
Thottbot Theme
Mage macro question
Post Reply
Return to board index
Post by
InfernoMan
I was think of using:
/cast Remove Lesser Curse
to help with decursing the tanks quicker during raids (such as fighting attumen in karazhan) and was wondering if it will remove the ability to decurse myself, providing I do not have my mouse over the tank. Also, will I have to mouseover their actual character or can I just mouse over their unit frame?
Thought I would come here to ask before trying to use it in an actual raid and bad things happen when it doesn't work. Thanks
Post by
Tildy
Add an extra empty set of conditions to make it operate as usual if you don't have a mouseover target.
/use
If you have multiple condition sets (sets of brackets), the action is performed if any one of the sets evaluates to 'true'. The sets are read in order, and an empty set always evaluates to 'true', so if that first set involving the mouseover isn't true, then it moves to the empty set, sees that it is true, and simply tries to cast the spell.
The reason I added "help" to the first set is that if your mouseover target is not a valid recipient for Remove Lesser Curse, it will just try to cast the spell instead of trying to cast the spell on that invalid target (target=thing not only affects the target of the other conditionals in that set, but it also specifies the target of the action itself).
Post by
kindofabuzz
why not just use Decursive?
Post by
Tildy
I used to use decursive in naxx, but I've never liked using many mods. I try to keep to a bare minimum, if any. Right now I use cooldowncount2, or something like that. That's all I need, and even then only because I don't use any bars on my screen and like to know how much time is remaining on certain cooldowns. I'm digressing a bit, but the point is that often a custom-crafted macro fits better than an oversize mod.
As I say though, if using a mod lets you have more fun after considerations, go for it.
Post by
56282
This post was from a user who has deleted their account.
Post by
6893
This post was from a user who has deleted their account.
Post by
pelf
Am I wrong in assuming that if
target=mouseover
evaluates to true, then
exists
must necessarily also be true? I've always figured that if you have something moused over, then it has to exist.
Post by
56282
This post was from a user who has deleted their account.
Post by
Tildy
I believe that's needed because target=mouseover by itself evaluates to true. That condition set will never be passed without exists.
You could think of target=mouseover as 'cast the following spell on whatever my mouse is over'.
There's no "if" there, it just commands it to cast that way. To add an "if", we put in exists, so it changes to something more like 'cast the following spell on whatever my mouse is over,
if
my mouse is over something relevant.'
Post by
InfernoMan
Thanks for all the help with the macro, might just do what Kindofabuzz suggested and get decurssive, No thinking or macro writing needed, and no need to worry if it works mousing over their unit frame or not. Great suggestion.
Though I have used the ideas here to use a similar macro for "mouseover" lacerates on my druid, since I haven't found a mod yet that can do that. Tab targeting while tanking multiple mobs trying to lacerate each one, especially with CC'd ones in close proximity, can be quite slow and difficult.
Post by
Tildy
...and no need to worry if it works mousing over their unit frame or not.
using mouseover in a macro will always work on unit frames unless you have an AddOn or custom binding that's interfering.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.