Cast on focus target macro
Moderators: Fridmarr, Worldie, Aergis, _Chloe
3 posts
• Page 1 of 1
Cast on focus target macro
Since im not really good with macroes (just able to do simple ones) i need help with this macro I need when i'm in my off spec (healer)
I need to write a macro that cast judgment on the target of the tank (that i put out in focus). If there is no target or no focus, it will simple cast judgment on my target or mouseover.
Is it possible?
I need to write a macro that cast judgment on the target of the tank (that i put out in focus). If there is no target or no focus, it will simple cast judgment on my target or mouseover.
Is it possible?
- Siral
- Posts: 25
- Joined: Sat Jan 08, 2011 7:14 pm
Re: Cast on focus target macro
hey,
in Patch 3.x this was not possible because casting Judgement always forced you to target a hostile enemy (even /cast [@focus] Judgement forced you to switch targets). Maybe this bug got fixed so this should do the trick:
It will check if you focus can be harmed and is not dead if all this is true it will cast J on it. If not it will check if your target exists (you can add harm and nodead if you want to have the same conditions as for focus), if true it will cast it on your target. If all fails it will attempt to cast J on your mouseover.
Bye, RedAces.
in Patch 3.x this was not possible because casting Judgement always forced you to target a hostile enemy (even /cast [@focus] Judgement forced you to switch targets). Maybe this bug got fixed so this should do the trick:
- Code: Select all
#showtooltip
/cast [@focus,harm,nodead][@target,exists][@mouseover]Judgement
It will check if you focus can be harmed and is not dead if all this is true it will cast J on it. If not it will check if your target exists (you can add harm and nodead if you want to have the same conditions as for focus), if true it will cast it on your target. If all fails it will attempt to cast J on your mouseover.
Bye, RedAces.
-

RedAces - Posts: 500
- Joined: Tue Dec 01, 2009 9:39 am
- Location: Germany
Re: Cast on focus target macro
RedAces wrote:hey,
in Patch 3.x this was not possible because casting Judgement always forced you to target a hostile enemy (even /cast [@focus] Judgement forced you to switch targets). Maybe this bug got fixed so this should do the trick:
It wasn't fixed. If you cast Judgement on a hostile target, it will switch your target to this enemy.
I have a macro which casts judgement at target of my target and it always switch my target..

- Dragondin
- Posts: 52
- Joined: Wed Aug 13, 2008 8:17 am
- Location: Berlin, Germany
3 posts
• Page 1 of 1
Return to Add-ons, UI, and Macros
Who is online
Users browsing this forum: No registered users and 2 guests
