mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-03 17:36:56 +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:
@@ -2326,6 +2326,7 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(U["bars"], T["Out Of Mana Color"], C.bars, "oomcolor", "color")
|
||||
CreateConfig(U["bars"], T["Highlight Not Usable Spells"], C.bars, "showna", "checkbox")
|
||||
CreateConfig(U["bars"], T["Not Usable Color"], C.bars, "nacolor", "color")
|
||||
CreateConfig(U["bars"], T["Highlight Proc And Reactive Spells"], C.bars, "procglow", "checkbox")
|
||||
CreateConfig(U["bars"], T["Lock Actionbars"], "UVAR", "LOCK_ACTIONBAR", "checkbox")
|
||||
CreateConfig(U["bars"], T["Always Allow Drag Via Shift Key"], C.bars, "shiftdrag", "checkbox")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user