mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-04 01:47:01 +00:00
Action bars: glow proc and reactive spells from ClassicAPI's overlay events
A button on the action bars pulses a gold border while the spell in its slot glows: Overpower, Revenge, Execute, Riposte, Counterattack, Mongoose Bite and Hammer of Wrath while usable, and Shadow Bolt under Shadow Trance. The slot update resolves the spell, through GetMacroSpell for a macro, and reads IsSpellOverlayed, so glows lit before a /reload show. SPELL_ACTIVATION_OVERLAY_GLOW_SHOW/HIDE then update the buttons with that spell ID; every rank fires its own event. "Highlight Proc And Reactive Spells" under Action Bars turns it off. The screen alerts are left out: their art isn't in the 1.12 client.
This commit is contained in:
@@ -675,6 +675,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("bars", nil, "oomcolor", ".2,.2,1,1")
|
||||
pfUI:UpdateConfig("bars", nil, "showna", "1")
|
||||
pfUI:UpdateConfig("bars", nil, "nacolor", ".3,.3,.3,1")
|
||||
pfUI:UpdateConfig("bars", nil, "procglow", "1")
|
||||
pfUI:UpdateConfig("bars", nil, "showequipped", "1")
|
||||
pfUI:UpdateConfig("bars", nil, "eqcolor", ".2,.8,.2,.2")
|
||||
pfUI:UpdateConfig("bars", nil, "shiftdrag", "1")
|
||||
|
||||
Reference in New Issue
Block a user