I’d like to create a button which I can use to downrank my heal spell and use @mouseover and @targettarget.
But I don’t get it work.
This is the macro: #showtooltips
/stopcasting
/cast [nomod,@mouseover] Heilen
/cast [mod:shift,@mouseover] Heilen(Rang 2)
/cast [mod:ctrl,@mouseover] Heilen(Rang 1)
as you can see it is in german.
If I am adding [@targettarget] it will not do anything.
First of all, the rule of thumb is Macros leave with success when any of the condition matches. Therefore, always start with the most specific conditions followed by more generic, followed by the spell without any condition.
Here [] [] forms alternative conditions meaning the spell is cast if one of them matches. If you have a target of target selected, [@targettarget] will cause the macro to leave; Heilen will be cast! It will never reach anything else! You will probably need to repeat all the conditions separately for both @targettarget and @mousover:
BTW multiple /cast or one line /cast separated by ; are equaivalent.
In the macro above @mouseover will take priority over @targettarget because the complexity is the same and @mouseover is reached sooner then @targettarget.
thank you for your post. It helped me al lot on how makros work. Thank you for that. I tried your makro by copy and pasting it into wow. Unfortunatley it does not work. I am not able to heal my targetstarget. From the logic I would say there was a good chance to work.
I observed the following thing. I did a macro where I was casting on my targetstarget. Was working fine, then I was doing a makro which could be modified by shift, ctrl, and alt. also, everthing was working. But if I am now combining these 2 two funktions, it stops working.
Is it possible, that the mod funktion of makros is not working with cast on targetstarget?
Maybe it is too ambiguous if you use both @mouseover and @targettarget and an extra condition exists can disambiguate the macro? I’ll check it later in the game. Gl.