Log in

View Full Version : most macros fail when not grouped..



j6044
10-08-2008, 10:49 AM
Since this is my first post on these forums, I would like to say thank you all for the great resource we have here.
I have been learning as much info as I posssibly can for the last year or so. I first boxed a Warrior/Druid combo (to 70)
and have now been working on my 5 man team consisting of a holy priest/ prot pally/ 2 affliction locks and a fire mage
( the consecrate/holy nova/ hellfire x2/ arcane burst rocks when I drag about 8 mobs over).

Everything is going well and have done most of the instances up to my level ( which is now 48 :) )

Anyways, enough about all that...

I use a focus mainly for cc purposes. My guys do the [target=targettarget] or /assist <main> ( to grab targets from main for cc)


My question: When I don't want to bring the "whole gang" out to play, most of my macros fail..

How can I setup my macros to cast on target or assist the main if grouped. I noticed that some of them work but give
errors ( unknown unit or invalid target). A lot of my macros will say [target=Party1target] and work... I assume that is because I'm not
grouped thus making me Party1 >? so I am assisting myself? not sure on that....

How do you guys deal with this sort of thing?



Thanks in advance.

elsegundo
10-08-2008, 01:28 PM
/cast [target=targettarget, nodead, harm][] SPELL

add the brackets. or make other conditions that will make your condition "true" to use the spell.

example:

/cast [target=targettarget, nodead, harm] [nodead, harm] SPELL

this will: cast SPELL if your target's target is not dead and harmful. if not, then it will cast SPELL if YOUR target is not dead and harmful. if not, it has no other options and will not cast SPELL.

got it?



now originally, your spells probably went like this:

/cast [target=targettarget, nodead, harm] SPELL

what happens is this. you target your main and it evaluates if your main's target is alive and harmful. yes? cast the SPELL!! if not? dont do anything.
now if you're solo and you do this, you're not targeting your main anymore, but targeting an actual mob. however, the macro will do the same thing-- it will evaluate if your target's target (which is now YOU, or no one if you're out of combat) is alive and harmful. obviously, you're alive, but you're not harmful. since you're not harful, the spell doesnt go off.

Kaynin
10-08-2008, 01:38 PM
Don't use nodead unless you want them all to stop dps'ing on hunters that feign. :p

Hachoo
10-08-2008, 01:54 PM
Yes basically you just have to add a second [] with the (usually) same conditions in it. IE here is one of my DoT macros:

#showtooltip
/cast [target=focustarget,mod:ctrl,mod:alt][mod:ctrl,mod:alt] Immolate
/cast [target=focustarget,mod:ctrl][mod:ctrl] Curse of Agony
/cast [target=focustarget,mod:alt][mod:alt] Siphon Life
/cast [target=focustarget][] Corruption

This works while using as a clone or a main or single player. I typically don't bother with specifying harm, nodead, etc, unless its explicitly required (like heal on one key or harm on another) as I don't really care if messages pop up.