16 Commits
Author SHA1 Message Date
Brues cf8504d9b2 Swap the hunter bar on swing range changes instead of polling spell range
The hunter bar called C_Spell.IsSpellInRange for Wing Clip and Arcane
Shot 50 times a second while it had an attackable target. It now turns
on C_SwingTimer's range checks for the main hand and the ranged weapon,
and reads both again on PLAYER_SWING_RANGE_UPDATE and at login.

The ranged check is Auto Shot's: the same range row as Arcane Shot
(8-35 yd), with the same Hawk Eye and ranged-weapon bonuses. The melee
check is the server's auto-attack reach, which Raptor Strike swings
with. It is Wing Clip's reach measured flat, without the height
difference, and without the 2.67 yd Wing Clip gets while both units
move. Without a ranged weapon the ranged check has no answer, so the bar
stays on the melee page.
2026-11-14 23:24:41 -06:00
Brues faa801e27d Read spell range through ClassicAPI in the hunter bar
Replace nampower's IsSpellInRange with C_Spell.IsSpellInRange. This drops
the last unguarded nampower call. The ClassicAPI function returns true,
false, or nil, so test == true and == false and leave the bar unchanged
on nil.
2026-08-07 17:39:10 -05:00
Brues 6d1bfe805e Use UnitClassBase for class detection 2026-07-30 01:26:29 -05:00
Brues 710be52f35 phase 3 removing tbc
Drop the now-vestigial expansion plumbing.

- Delete modules/thirdparty-tbc.lua + its xml Include
- Strip 10 tbc-tagged CreateConfig calls in modules/gui.lua
- Drop the expansion arg from CreateConfig() signature + the disabled-
  entry rendering path that depended on it
- Drop the showdisabled GUI toggle + its default
- Simplify pfUI:RegisterModule / pfUI:RegisterSkin to (name, func) only
- Strip the leading version arg ("vanilla:tbc", etc.) from all 114
  Register call sites
- Delete the pfUI.expansion variable
2026-05-25 18:50:53 -05:00
Meow e2f3c08581 changed page 9 to 2 2026-03-09 03:06:41 +01:00
Meow 2d2d251734 clearing up dead code - we use nampower now! 2026-03-09 02:59:37 +01:00
Meow a3f38502c2 hunter bar auto swap fix (works for ALL levels) 2026-03-09 02:44:52 +01:00
shagu df4e0ed67d hunterbar: delay and queue ability scanner events 2020-03-03 17:36:08 +01:00
shagu 7c2988d413 hunterbar: only switch while not already paged 2020-02-21 17:53:05 +01:00
shagu e9237b59b2 core: use concrete string based client checks 2019-06-10 17:06:31 +02:00
Road-block 44ffb10024 libtipscan: add new tooltip scanning library 2018-07-31 21:23:01 +02:00
shagu 6e26336d36 api: rework of locale system 2017-02-26 21:29:27 +01:00
shagu 1766dd4ba0 api: use C for config 2017-02-26 20:42:08 +01:00
shagu a78e508262 hunterbar: use wingclip instead of raptorstrike 2016-12-30 13:31:48 +01:00
shagu a7a7ac48f4 hunterbar: reset scan results on event 2016-12-30 05:42:19 +01:00
shagu dc3c89b3ad hunterbar: add range based auto paging 2016-12-30 05:36:40 +01:00