Hi, i like to make advanced macro but i got issues with syntax and functions to use so what i'm trying to do now is :
Shaman :
If i have a creature on focus : cast wind shear on this target without switching my target.
If i haven't any focus : make my target the focused target and cast wind shear on it.
I made
Code:
/cast [target=focus] Wind shear
It doesn't seems to work every time and i don't know how to make my macro act differently when there's no focused target :/
Paladin :
Cast judgement on the Main tank's target.
Without any focus to set the main tank.
Code:
/assist
/cast Judgement
/targetlasttarget
But i think this casts the Judgement on your target's target and not on the tank's target.
I think i must use the role thing but don't know how. For something like that :
Code:
/focus /*My first target is saved */
/target Role::Tank /*Targets the tank */
/assist /*Get his target */
/cast Judgement
/target focus /*Return to the first target */
/clearfocus
Or anything without /focus at all (doesn't really matter if the first target isn't saved)
Thanks for helping!