/cast [mod:ctrl,raid] Roar of Sacrifice; [target=player] Roar of SacrificeFor Roar of Sacrifice, I want a macro that casts it on me by default, but it also needs to have an on-modifier command so I can press, say, CTRL when I'm targeting another member of my party and I wish to cast it on them.
/cast [harm] Scatter ShotFor Scatter Shot I would like to make one that, much like my Raptor Stike Macro, casts Scatter Shot on my nearest target if I'm not targeting anyone. However, if I have someone targeted, then it would just use the spell on them. Would that need a separate on-modifier command to work? Additionally, Scatter Shot's range is 20 yards, so if you were to use the Raptor Strike macro to build from, would "NearestDistance" have to be changed?
/stopmacro [harm]
/console targetNearestDistance 20.000000
/cleartarget
/targetenemy
/cast [harm] Scatter Shot
/targetlasttarget
Not quite sure what you want here. What happens if you don't have no target?For Wyvern Sting I need to be able to cast it on my focus target, which is basic stuff. But how do I make it so it doesn't say "no target" if I don't have anyone focused? It currently prevents me from using it if I have no one on focus. Now that I think of it, on-modifier is probably the way to here, too.
/cast [target=focus,harm] Wyvern Sting; Wyvern Sting
That will cast it as normal if your focus isn't a player/mob you can harm.