Thread: Focus Macro
View Single Post
Old 07/01/07, 7:02 PM   #37
jurgen
Von Kaiser
 
Troll Hunter
 
Mannoroth
Originally Posted by Bekah View Post
Lets take this a step further. I would like a macro that follows the following logic.

If there is no focus, makes my current target my focus- or if focus exists, targets focus.
Casts sheep/shackle.
Calls the script to assign a raid charm. (For me, it's always /script SetRaidTarget("Target",5); since I've been the moon for shackles since charms were introduced =P)
Then targets last target.

(obviously you'd need different macros for sheep and shackle, but I have mage/priest and I use virtually identical macros for both). I *think* I can make that work by:

/focus [target=focus, noexists]
/target focus
/cast Polymorph
/script SetRaidTarget("Target",5);
/targetlasttarget

Can anyone see a logic failure?

Edit: finally got in game, and it appears to work. I realized I'd like one more conditional though and I have no idea how to put it in.

If there was no last target, target focus.
Thank you for this quite nice macro!
 
User is offline.
Reply With Quote