Thread Tools Display Modes
04-14-22, 10:37 PM   #1
suduliki
A Kobold Labourer
Join Date: Apr 2022
Posts: 1
Target and cast to a specific target

Hello. Can anyone help with the macro. Goal: you need to take a particular mob in the target and give it a cast, but not give this cast in the current target, if it is not that particular mob.
  Reply With Quote
04-15-22, 03:28 AM   #2
elcius
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Sep 2011
Posts: 75
you can do something like this:
Code:
/cleartarget
/tar mobname
/cast [exists] spellname
/targetlasttarget
but there is no perfect solution and it's better practice to just use focus casting.
  Reply With Quote
04-15-22, 05:20 AM   #3
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
I don't think /targetlasttarget will work as intended in this situation (due to the /cleartarget at the start)
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Target and cast to a specific target

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off