Log in

View Full Version : macro help



ahnubis
05-22-2008, 05:22 PM
im using 1 shaman as my my main healer and I need a 3 part macro

/target anubizx
/cast [target=targettargettarget,help,nodead,exists] Healing Wave; [target=targettarget,help,nodead,exists] Healing Wave; [target=target,help,nodead,exists] Healing Wave


This is what my macro looks like now

what I want it to do is heal anubizx if he has no target
If I do have a target I want him to heal that target
and when I am fighting I want him to heal anubizx's target( a mob) and target the mobs target and heal that target.

will this work?

Ughmahedhurtz
05-22-2008, 05:36 PM
That macro should do the trick, assuming targettargettarget is valid. :P

ahnubis
05-22-2008, 05:56 PM
only down side is that when I hit my follow command all the alts target my main char. So when I go to cast a heal on them the macro targets my target whos targets my main and the heal ends back on my main :}

wanted to see if it was possible for the target target target to have an exception in it so that it only casts that one if I have a hostile targeted.

Dorffo
05-22-2008, 06:46 PM
/target anubizx
/cast [mod,target=targettarget,help,nodead,exists] Healing Wave;[target=targettargettarget,help,nodead,exists] Healing Wave; [target=targettarget,help,nodead,exists] Healing Wave; [target=target,help,nodead,exists] Healing Wave

I can't test this out, but I think you could add a mod statement in there so that you can force a heal onto the friendly anubizx is targeting by hitting your heal key with any modifier key (shift/ctrl/alt).

or maybe a combat flag (if that works):
/target anubizx
/cast [target=targettargettarget,help,nodead,exists,comba t] Healing Wave; [target=targettarget,help,nodead,exists] Healing Wave; [target=target,help,nodead,exists] Healing Wave




Dunno if that's at all helpful (or even correct!) just some random thoughts

Maz
05-22-2008, 06:50 PM
im using 1 shaman as my my main healer and I need a 3 part macro

/target anubizx
/cast [target=targettargettarget,help,nodead,exists] Healing Wave; [target=targettarget,help,nodead,exists] Healing Wave; [target=target,help,nodead,exists] Healing Wave
Looks fine. You could shrink it though:

/target anubizx
/cast [target=targettargettarget,help,nodead][target=targettarget,help,nodead][target=target,help,nodead]Healing Wave
help and harm both imply exists which is why you don't need it.

Ughmahedhurtz
05-22-2008, 07:10 PM
Note that the "combat" flag will always evaluate to false until he heals someone else that is in combat or gets on a monster's hate list by meleeing, casting or being in melee range of it. Doubt you'd want that situation. ;)

Dorffo
05-22-2008, 07:20 PM
good call! strike the combat flag suggestion :)

Kel
05-23-2008, 05:55 AM
[target=target,help,nodead] Can be reduced to simply [help,nodead] as spells default to your current target if you have one).