mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-26 17:36:04 +00:00
371872bb90
Wand Shoot (spellID 5019) wasn't recognized as ranged anywhere, so it fell through every branch of the SPELL_GO_SELF dispatch and hit the catch-all interruptFlags > 0 reset, wiping the mainhand swing on every shot. Casters melee-weaving between MH swings and wand fires lost their swing visualization. Replace the hardcoded RANGED_SPELLIDS / WAND_SHOOT_SPELLIDS tables with C_Spell.IsRangedAutoAttackSpell (Spell.dbc AUTO_REPEAT bit) — catches both Auto Shot and Shoot today, plus any future auto-repeat ranged spell. ResetRanged now takes a replaceMH flag: true for Auto Shot / Throw (Hunter ranged replaces melee), false for wand (independent timers, both tick concurrently). Closes #5.