#focus's target

1 messages · Page 1 of 1 (latest)

heady creek
#

Did the searching, I cant figure it out. I'm trying to create a weak aura to display when a debuff is missing from my focus's target. Use case is a macro to apply faerie fire as a resto druid to my tanks target. Tank would be focused. This is for tbc ann

candid mango
#

you'd use specific unit of "focustarget", the default aura trigger doesn't have good support for that though and won't update properly.

candid mango
#

indeed it says "not a trackable unit" but it's bad wording, it's more "can't be updated properly as target events are unreliable".
if you type into chat for example /dump UnitName("focustarget") you'll see it's a working unit name, just not reliably trackable.

heady creek
candid mango
#

yes, what i've been trying to tell you is that what you're asking for can't be done as focustarget doesn't get proper aura updates from the game.

heady creek
#

oh...ok, thanks.

#

How does elvui track focus targets auras? there must be some way to grab the info?

candid mango
#

grabbing the info isn't the problem, the problem is updating the info at the right time when the aura is applied/removed.
i'm guessing elvui either checks focustarget whenever nameplate/target/etc is updated, or it checks it every second (or some way i'm unaware of, can ask them in their discord).
the default WA triggers try to prioritize performance so they do minimal aura updates, so it doesn't have good support for xxxtarget units. when i said "can't be done" earlier i meant for the default trigger, could be done as a custom trigger that checks every second but would be poor performance.

heady creek
#

ok, thanks for clarifying. Ill keep messing with it and see if I can get something workable