mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-10 07:30:01 +00:00
swingtimer: drive the timers from ClassicAPI's PLAYER_SWING
Replaces the Lua reconstruction of the swing clock (AUTO_ATTACK_SELF with an extra-attack guess, parry-haste maths, Slam freeze, DBC-based reset checks on every SPELL_GO including triggered spells). PLAYER_SWING tracks the server's clock from packets, so triggered casts, extra attacks, parry haste, weapon swaps and the ranged wind-up all match the server. Refs #58
This commit is contained in:
+1
-1
@@ -937,7 +937,7 @@ if hasNampower then
|
||||
local numMissed = arg7 or 0
|
||||
|
||||
-- Fire registered SPELL_GO_SELF hooks BEFORE miss guard
|
||||
-- (Swingtimer needs to see ALL casts, even misses, for swing reset)
|
||||
-- (Swingtimer needs to see ALL casts, even misses, to clear its queue color)
|
||||
if event == "SPELL_GO_SELF" and pfUI.libdebuff_spell_go_hooks then
|
||||
for _, fn in pairs(pfUI.libdebuff_spell_go_hooks) do
|
||||
fn(spellId, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
|
||||
|
||||
Reference in New Issue
Block a user