Healing macro combining @mouseover, @targettarget

Hi folks,

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.

/cast [nomod,@mouseover] [@targettarget] Heilen
/cast [mod:shift,@mouseover] [@targettarget] Heilen(Rang 2)
/cast [mod:ctrl,@mouseover] [@targettarget] Heilen(Rang 1)

why is it not working and how can I add the possibility to heal the target of my target?

Thank you in advance for reading this topic.

Greetings,
Kullmann

Your asking this for classic right? Retail doesnt have separate ranks anymore does it?

ahhh, I thought I havce postet in the classic forum
sorry
yeah its for classic

Not sure if it would work, but you might have to make it target the mouseover before executing the heal of targettarget.

something like
/target mouseover
/cast [nomod,@targettarget] Heilen
/targetlasttarget

I’ll check it and give you some feedback.

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.

#showtooltips
/stopcasting
/cast [@mouseover, mod:ctrl] Heilen(Rang 1); [@mouseover, mod:shift] Heilen(Rang 2); [@mouseover] Heilen

The macro above will work because [@mouseover] is a more generic condition.

/cast [nomod,@mouseover] [@targettarget] Heilen
/cast [mod:shift,@mouseover] [@targettarget] Heilen(Rang 2)
/cast [mod:ctrl,@mouseover] [@targettarget] Heilen(Rang 1)

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:

#showtooltips
/stopcasting
/cast [@mouseover, mod:ctrl] Heilen(Rang 1); [@targettarget, mod:ctrl] Heilen(Rang 1); [@mouseover, mod:shift] Heilen(Rang 2); [@targettarget, mod:shift] Heilen(Rang 2); [@mouseover] Heilen; [@targettarget] Heilen

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.

Hey Dashia,

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?

Regards,
Xele

Try this maybe:

/cast [mod:shift,@mouseover,help][mod:shift,@targettarget]Heilen(Rang 2)
/cast [mod:ctrl,@mouseover,help][mod:ctrl,@targettarget]Heilen(Rang 1)
/cast [@mouseover,help][@targettarget]Heilen

@Xeledur, can you try the macro below? I changed that slightly, e.g. I added existsinside all conditions with @mouseover; see the macro below:

#showtooltips
/cast [@mouseover, mod:ctrl, exists] [@targettarget, mod:ctrl] Heilen(Rang 1); [@mouseover, mod:shift, exists] [@targettarget, mod:shift] Heilen(Rang 2); [@mouseover, exists] [@targettarget] Heilen

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.

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