Are focus frames even possible in Classic Wow?
View Single Post
06-04-19, 05:32 AM
A Deviate Faerie Dragon
Join Date: Apr 2014
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.
Last edited by wardz : 06-04-19 at
View Public Profile
Send a private message to wardz
Find More Posts by wardz