Forum Settings
       
Reply To Thread

Macro helpFollow

#1 Jun 12 2010 at 2:36 PM Rating: Decent
28 posts
Hi! I know this is probably easy as hell to find, but my Google skills seem to be lacking.

What I need is a macro to cast a harmful spell on my target's target if the target is friendly. If not friendly, just cast the harmful spell.

I tried:

#showtooltip Mind Sear
/cast [target=targettarget,exists] Mind Sear

But that only works on the target's target. If I'm targeting an enemy I get an "Invalid Target" error.

Thanks!

Jeff
#2 Jun 12 2010 at 4:00 PM Rating: Excellent
****
4,074 posts
ChancreSore wrote:
Hi! I know this is probably easy as hell to find, but my Google skills seem to be lacking.

What I need is a macro to cast a harmful spell on my target's target if the target is friendly. If not friendly, just cast the harmful spell.

I tried:

#showtooltip Mind Sear
/cast [target=targettarget,exists] Mind Sear

But that only works on the target's target. If I'm targeting an enemy I get an "Invalid Target" error.

Thanks!

Jeff


If I'm understanding you correctly:

/cast [target=targettarget, harm, exists] Mind Sear; [harm, exists] Mind Sear

This will check if your target's target is an enemy and cast Mind Sear if that condition is true. Otherwise it will move on to the next condition and cast Mind Sear on your current target instead, if that target is an enemy.

Is that what you want?

It's that harm argument you're missing. It gave you invalid target because your target's target was friendly.
#3 Jun 12 2010 at 4:20 PM Rating: Decent
28 posts
Yep, that's pretty much it. I ended up finding this in my never ending search:

#showtooltip Mind Sear
/cast [target=target, harm] [target=targettarget, harm] Mind Sear

Is there any functional difference between that and what you posted?

Using this macro with SW:P, Smite and other offensive spells makes healing that much more fun!

Thanks!
#4 Jun 12 2010 at 8:21 PM Rating: Good
I'm not sure if yours will work, because I've always thought the macro system can only parse one condition set per item. You're also technically specifying two different targets. Try it out, it might work. But if it doesn't you'll need the double entry like teacake has.

You can also save a few keystrokes by using @targettarget and @target, as the "@" is functionally the same as "target=".

Edited, Jun 12th 2010 10:22pm by Norellicus
#5 Jun 12 2010 at 8:44 PM Rating: Decent
28 posts
Thanks for the @ tip. I've been using the macro as I posted it for several random heroics now and haven't had any problems.

At this point my DPS is hovering just below 1k for an entire dungeon. Now it's starting to **** me off when others have the nerve to take damage. How dare they interrupt my DPS! :) I'll probably post in that Smite DPS thread for some tips next week, but for now I'm enjoying what I got!
#6 Jun 13 2010 at 6:03 AM Rating: Excellent
****
4,074 posts
ChancreSore wrote:

Is there any functional difference between that and what you posted?


Nope, yours is just shorter.

I use a similar macro for all my heals so I rarely have to click to heal.
Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

Recent Visitors: 147 All times are in CST
Anonymous Guests (147)