Are focus frames even possible in Classic Wow?
View Single Post
06-04-19, 07:21 AM
Join Date: May 2019
Originally Posted by
You have to build a database of the unit's information by scanning your party members target, mouseover, nearby nameplates etc. If a nearby nameplate belongs to your focused player, you can use something like nameplate1.Healthbar:GetValue() to get the health. For auras/casts you can parse the combat log. This is how focus frame works in vanilla aswell. Edit: Technically you could also estimate health based on damage taken in the combat log.
Edit2: I think in Classic/Retail nameplates have valid unitIDs which would make things slightly easier.
Btw, there's no way to target the focus in classic. At best, you could make your addon create a macro for you automatically like: "/targetexact name /cast spell /targetlasttarget" but addons can't create macros in combat so you won't be able to set a new focus in combat.
I knew there was no way to target the focus, but I didn't know about the nameplate workaround to try to get unit health that way. I will look more into that. Thanks a lot for the helpful info!
View Public Profile
Send a private message to MinguasBeef
Find More Posts by MinguasBeef