Post by inkliizii1
So, I'm a Feral Druid, and I'm trying to make a macro that will heal priority heal targets if they're up, but otherwise heal my target's target (the current tank usually). So I want it to:
Target Kael'thas Sunstrider if he's there
Target a Ripped Soul if it's up
If those exist, cast Regrowth on them
If my target changed, targetlasttarget
Otherwise, cast Regrowth on my current target's target
The italicized part is the current problem.
Here's what I have currently:
#showtooltip Regrowth
/target Kael'thas Sunstrider
/target Ripped Soul
/cast Regrowth
/targetlasttarget
/cast , so it only does that part if my current target is friendly (i.e., if I targetted Kael or a Soul), but apparently /targetlasttarget doesn't take arguments. So, what can I do here? What I'm looking for seems like it should be doable.
Edit: nevermind, I solved it! Turns out the problem was two things: first, my "@targettarget" part needed to come before the /targetlasttarget part, and it needed to actually change my target. So this way, if Kael or the soul is up, it targets them, if neither is up it targets my current target's target, it casts regrowth on them, then it retargets my previous target. So my target changes no matter what, meaning that /targetlasttarget actually has a "last target" to operate on no matter what.
Here's the current macro, in case someone's interested:
#showtooltip Regrowth
/targetexact Kael'thas Sunstrider
/targetexact Ripped Soul
/target targettarget
/cast Regrowth
/targetlasttarget