mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 18:36:01 +00:00
Show on-swing queue color on every HS/Cleave/Maul press
The SPELL_CAST_EVENT hook only called SetQueuedKind, but the queued color path is gated behind S.useSpellQueueEvent. Nampower fires SPELL_CAST_EVENT on the actual HS/Cleave/Maul press (not just the rarer ON_SWING_QUEUED), so flip the event-driven flag there. The queued color now shows even when the client IsCurrentAction state does not reflect a natively-queued on-swing ability.
This commit is contained in:
@@ -780,7 +780,10 @@ pfUI:RegisterModule("swingtimer", function ()
|
||||
-- SPELL_CAST_EVENT hook: HS/Cleave/Maul queue tracking
|
||||
pfUI.libdebuff_spell_cast_hooks = pfUI.libdebuff_spell_cast_hooks or {}
|
||||
pfUI.libdebuff_spell_cast_hooks["swingtimer"] = function(success, spellId)
|
||||
SetQueuedKind(ClassifyOnSwingSpell(spellId))
|
||||
local kind = ClassifyOnSwingSpell(spellId)
|
||||
if not kind then return end
|
||||
S.useSpellQueueEvent = true
|
||||
SetQueuedKind(kind)
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user