Question on how /stopmacro works for this particular macro

Hi all,

I just got this macro and I’m aware of what the macro does, except about the /stopmacro part. I’m also in doubt if it is also a necessity or redundant. I’ve read the stickies but did not find out the exact info on what I’m looking for:

#showtooltip
/cast [harm] crusader strike
/stopmacro [harm]
/targetenemy
/cast crusader strike
/targetlasttarget”

Thanks in advance.

What are you trying to do:

  1. Switch to an enemy if you have an ally targeted?
#showtooltip
/targetenemy [noharm]
/cast Crusader Strike
/targetlasttarget [noharm]
  1. Target an enemy if you don’t have a target?
#showtooltip
/startattack
/cast Crusader Strike
1 Like

I play as healer and was looking for a macro that could cast Crusader Strike to the closest enemy OR cast on the target of my ally, so that I could use that spell with my ally still selected. Is it possible to have those conditions on the same macro?

Also curious on what exactly a /stopmacro does.

Because Crusader Strike requires a melee swing, you probably need to switch targets. Personally, I’d keep enemies targeted at all times and use mouseovers or click casting to heal people.

Can find templates here:
https://us.forums.blizzard.com/en/wow/t/useful-macro-templates/42937

As for stopmacro, it prevents further execution of the macro, if the conditions set on it are met at the time the macro was pressed.

1 Like

Thank you kindly for your response.