PDA

View Full Version : Conditional assist macro?



Stealthy
10-29-2007, 07:01 AM
Hi all,

Normall I use a macro like this for my locks nuking spells:

/cast [exists,harm,nodead] shadowbolt
/stopmacro [exists,harm,nodead]
/assist focus
/cast [exists,harm,nodead] shadowbolt

Basically this will keep nuking the target until it dies then assist my main to nuke the next target, which is great most of the time.

But sometimes I want my alts to switch targets immediately...like when I'm fighting a mob and a sneaky rogue decides to attack me....

Sure I can bind a key to assist my main (in fact I already have), but is there a way to do it within one macro using a modifier like shift or alt? I guess a conditional assist is what I'm looking for?

Cheers,
Stealthy

Ztar
10-29-2007, 09:20 AM
I would think you could do something like this:

/cast [target=focustarget,modifier:alt,exists,harm,nodead] shadowbolt;[exists,harm,nodead] shadowbolt
/stopmacro [exists,harm,nodead]
/assist focus
/cast [exists,harm,nodead] shadowbolt

Might be off in on the syntax, but I think the above should work.

Personally I just use a key to have my adds take my target.
Usually in 4 of 5 mob pulls i initially have my toons have a target each, to spread the aggro (running 5 shamans so no real tank) cast the first spell, then hit the /target focustarget key to focus fire on one mob at the time...


//Ztar

Blokus
10-29-2007, 03:21 PM
I think that adding <nomodifier> to the first two commands will skip those lines when any modifier key is held down and they will pick up the new target.

/cast [exists,harm,nodead,nomodifier] shadowbolt
/stopmacro [exists,harm,nodead,nomodifier]
/assist focus
/cast [exists,harm,nodead] shadowbolt

Stealthy
10-29-2007, 08:18 PM
Thanks for the responses guys - will test them out tonight and see how I go!

Cheers,
Stealthy