Add Class Resources and Debuff Highlighting modules; migrate settings to AceDB profiles
Move CoA settings from E.global/E.private into a proper AceDB-3.0 database (CoA.db, SavedVariables ElvUI_CoADB) with a Profiles options tab, since ElvUI doesn't ship AceDBOptions-3.0 (vendored under Libraries/). Add ClassResources.lua: hooks the custom-class resource frames (segment bar, orb, bar, multi-cast bar) into ElvUI's Toggle Anchors, with a per-frame hide checkbox in a new "Class Resources" options tab. Add DispelHighlight.lua: highlights dispellable debuffs on unitframes, with talent-aware filtering for custom classes. Fix mover/anchor reliability for Class Resources and the Instance (LayerPicker) button: - Movers were only retried until the target frame existed, not until the mover was actually created, so frames that start at zero size (e.g. a resource bar before that resource is ever active) permanently lost their mover. - Class resource frames re-anchor themselves on refresh, stomping the mover's anchor; hook SetPoint to snap back to the mover holder whenever something else repositions the frame. - Native click-drag on these frames ends with the engine calling SetPoint directly, severing the mover anchor entirely. Permanently block drag (script and RegisterForDrag) instead of clearing it once.
This commit is contained in:
@@ -5,8 +5,12 @@
|
||||
## Notes: Hides and skins custom CoA-server frames for ElvUI.
|
||||
## RequiredDeps: ElvUI
|
||||
## X-IconTexture: Interface\AddOns\ElvUI\Media\ElvUILogo
|
||||
## SavedVariables: ElvUI_CoADB
|
||||
|
||||
Bindings.xml
|
||||
Libraries\AceDBOptions-3.0.lua
|
||||
core.lua
|
||||
Modules\ExtraActionBar.lua
|
||||
Modules\LayerPicker.lua
|
||||
Modules\DispelHighlight.lua
|
||||
Modules\ClassResources.lua
|
||||
|
||||
Reference in New Issue
Block a user