Zidras / ElvUI_ProjectZidras

Plugin for ElvUI (3.3.5a) - new features and various improvements
21 stars 6 forks source link

Awesome WotLK #23

Closed Zidras closed 1 year ago

Zidras commented 1 year ago

Built over @FrostAtom library that fully replicates retail nameplates, with proper API and events added. If library is present in the client, PZ will detect it and use this API to better handle nameplates.

https://github.com/Zidras/ElvUI_ProjectZidras/assets/10605951/71ca1066-124c-42e6-8299-8bc70553be9c

Unfortunately, ElvUI is very intrusive on its nameplate handling with OnUpdate scripts and makes some assumptions that collide with this lib, and hinders 3rd-party implementations. This would be best handled directly on ElvUI Nameplates.lua and oUF... Regardless, PZ will attempt to properly preserve nameplate%d caching. Another consideration for the future is nuking all unit handling (e.g: NP:SetTargetFrame and NP:SetMouseoverFrame) and only keep nameplate events.