Macro Help: help/harm with self/focus

Starting to learn macros and I am finding them super helpful. I’ve done some reading and have this macro set up for my druid to save some space depending if i’m targeting a friendly or enemy:

#showtooltip
/cast [harm]Moonfire; Rejuvenation

This is great, but I have “control” set up as a “self cast” button and “alt” set up as my “focus target” button. This particular macro doesn’t seem to work with these ( I double checked my wow UI and Bartender4 UI to ensure they both have it set up to reflect). I imagine I need to add some sort of modifier in but my brain hurts trying to figure out the particular string and was hoping for some help.

A real bonus, again not sure if it’s possible, would also be an additional mouseover ability, but that just seems even more absurd to figure out haha. I see a lot of people using mouse over and wanted to try it out, seems convenient in PvP. Hoping some of you big brains could give me a hand. Appreciate any help.

Those functions need to be manually coded into macros.

#showtooltip
/cast [mod:alt,@focus,harm,nodead] Moonfire; [mod:ctrl,@player] [mod:alt,@focus,help,nodead] [@mouseover,help,nodead] Rejuvenation; [@mouseover,harm,nodead] [harm] Moonfire; Rejuvenation
2 Likes

Thank you for the quick response, I will try that out at the bottom and adjust spells for the others. I am still wrapping my head around it trying to decipher how and why it is written that way. I am going to read the post you made and quoted from in here. Do you have any additional recommendations for me to read so I can understand why you made that the way you did?

Read the other pin in the forum and understand that macros are executed left to right.

1 Like

Follow up questions, well, more of confirmations (based on what I am reading):

  1. I adjusted the macro you provided for damage only skills that I don’t need to apply harm/help. I wanted to apply it to my Warlock as well, but I run two “/castsequence” macros for two different sets of DoTs. This macro will not be able to have a cast sequence applied to it, correct?

  2. I looked all over and the only thing I could find was from a lonnnnng time ago in vanilla days, but is there a way to modify a macro based on the class of the target? For example, it would be nice to use “Curse of Weakness” on melee classes and “Curse of Tongues” on casters based off one key.

Thanks again for all your help, your help has been invaluable.

I don’t recommend castsequences because they’re consistently buggy but it can be done.

#showtooltip
/castsequence [@mouseover,harm,nodead] [] reset=whatever SPELL1, SPELL2, SPELL3

No.

1 Like

Excellent. I have been able to transfer all of these over to damage only and heal only classes by editing what you originally provided and reading for an hour or two lol.

I have one macro that I am making an error somewhere. I was using:

#showtooltip
/cast [talent:5/2] Mortal Coil; [talent:5/3] Howl of Terror

This was so that when I went into arena I could change from Mortal Coil to Howl of Terror if I was facing heavy melee. I tried adjusting it to:

#showtooltip
/cast [mod:alt,@focus,harm,nodead] [talent:5/2] Mortal Coil; [talent:5/3] Howl of Terror; [@mouseover,harm,nodead] [harm] [talent:5/2] Mortal Coil; [talent:5/3] Howl of Terror; [talent:5/2] Mortal Coil; [talent:5/3] Howl of Terror

This was in line with the adjustment I successfully made for damage only spells. So the “alt focus” modifier is working and the spell changes when I change the talent, but the mouseover isn’t working. I think I’m confusing the macro at the end, as in they aren’t reading grouped up correctly due to the semi colons?

[this, and this]
[this] [or this]

/cast [mod:alt,talent:5/2,@focus,harm,nodead] Mortal Coil; ...

That said, you’re seriously overcomplicating things.

#showtooltip
/cast [talent:5/1] Shadowfury; [talent:5/3] Howl of Terror; [mod:alt,@focus,harm,nodead] [@mouseover,harm,nodead] [] Mortal Coil
1 Like

I am playing on my Resto Shaman a bit. Thanks to elvenbanes help on my warlock macros I was able to adjust those to what I need for this. I’ve been trying to wrap my head around this but not sure it’ll work, but I am trying to see if with my help/harm macro I can make it cast on my focus target if no target is selected (instead of myself). The macro I am using is:

#showtooltip
/cast [mod:alt,@focus,harm,nodead] Flame Shock; [mod:ctrl,@player] [mod:alt,@focus,help,nodead] [@mouseover,help,nodead] Riptide; [harm] Flame Shock; Riptide

Thanks in advance for any help! If I have to lose the alt/ctrl modifiers, I can, I don’t use them as much as I thought I would.

Recommend you don’t.

#showtooltip
/cast [mod:alt,@focus,harm,nodead] Flame Shock; [mod:ctrl,@player] [mod:alt,@focus,help,nodead] [@mouseover,help,nodead] Riptide; [harm] Flame Shock; [help] [@focus,help] Riptide; [@focus,harm] [] Flame Shock

Appreciate it, and your suggestion, but any reasoning as to why you suggest I don’t?