92 Commits

Author SHA1 Message Date
Brues 2d861546a3 fixed nampower link 2026-06-22 15:11:33 -05:00
Brues ff98dde670 classicapi: two-tier version check + drop hardcoded github URLs
Splits the ClassicAPI version check into a hard floor (MIN, manual)
and a soft target (LATEST, pinned by the release workflow). Below MIN
pfUI disables itself entirely as before; between MIN and LATEST it
runs normally but fires a delayed chat nudge after PLAYER_LOGIN with
the available update. PLAYER_LOGIN handlers swap to
EventUtil.ContinueOnPlayerLogin so we don't have to spin a frame for
each branch.

URLs centralize on toc X-Website fields. pfUI.lua factors out
ClassicAPIReleaseUrl(version) sourcing from !!!ClassicAPI's metadata;
modules/gui.lua and libs/libdebuff.lua replace hardcoded
me0wg4ming/pfUI links with GetAddOnMetadata(pfUI.name, "X-Website")
lookups.

release.yml gains a pre-package step that queries ClassicAPI's latest
release tag, packs it (X*10000 + Y*100 + Z), and seds only the LATEST
line in pfUI.lua so the published zip ships with the correct soft
target.
2026-06-22 15:06:04 -05:00
Brues 841399a0c7 classicapi migration 2026-05-29 22:56:12 -05:00
Brues ba566cdd53 phase 2 removing tbc
Strip dead pfUI.client > 11200 and pfUI.expansion == "tbc" branches now
that vanilla is the only supported client.

- pfUI.lua: hardcode expansion = "vanilla"; collapse force_region matrix
- compat/vanilla.lua, libs/{libcast,libdebuff,libtotem,libunitscan,
  focus}: drop always-false early-returns
- api/unitframes.lua: delete TargetBuffOnUpdate poller + tbc visibility
  and secure-template branches; click-cast keeps only vanilla path
- api/ui-widgets.lua: unconditional EffectiveScale divide
- env/tables.lua: drop unused focus/focustarget pfValidUnits entries
- modules/actionbar.lua: simplify EnablePaging, drop ButtonSwitch/
  petvisibility, unwrap prowl block, single keybind-remap path
- modules/{castbar,chat,cooldown,loot,questitem,totems}: unwrap
  always-true conditionals
- modules/nameplates.lua: cfg-only fake-cooldown gate, unwrap overlap/
  clickthrough + mouselook blocks
- modules/friends.lua + skins/blizzard/friends.lua: maxtab = 4
- skins/blizzard/{help,game_menu,questlog}: drop tbc-only branches
2026-05-25 18:40:17 -05:00
Brues b18e6ffa67 refresh buff durations on player 2026-05-21 02:35:46 -05:00
Brues 2eb7506f3c dont need to scan tooltip 2026-05-21 00:55:22 -05:00
Meow 1b04754a30 fix for libdebuff
Fixed ownDebuffs being empty during AURA_CAST on first cast, preventing downrank detection from working correctly
2026-04-02 15:42:12 +02:00
Meow ca337259d1 removed duplicated debug 2026-04-02 14:55:21 +02:00
Meow a0a3ef09aa fix for wrong copied hook 2026-04-02 14:35:17 +02:00
Meow 442d4c7be7 hook for Downrank protection 2026-04-02 14:28:14 +02:00
Meow 0abb7b9929 Revert "added downrank check for hooks"
This reverts commit 79d0a401c9.
2026-04-02 14:24:01 +02:00
Meow 79d0a401c9 added downrank check for hooks 2026-04-02 14:03:46 +02:00
Meow aa2cb95ec2 Several changes
Fix stale debuff icons/tooltips on target frame after target swap
Fix debuffs not showing on nameplates for timer-less spells (e.g. Hurricane)
Fix buffwatch timer visually speeding up when another debuff fades
Remove 50ms aura cache (slotMapCache/auraFC) - caused stale debuff data
Remove "Show Only Own Debuffs" from unitframes and nameplates GUI
Force selfdebuff=0 for unitframes/nameplates on login to reset old SavedVariables
2026-03-31 19:51:36 +02:00
Meow 1f72b93ea5 New feature for "Buff" > "Target Debuff Bar"
"Target Debuff Bar" should now correctly show only own debuffs (there will be still debuffs that are not shown up properly like AOE spells or procs)
2026-03-31 07:11:48 +02:00
Meow d3ee08c170 fix for castbar not resetting if timer duration is the same as before. 2026-03-30 03:19:11 +02:00
Meow 5be9b00623 added Spellcast_channel_stop to libdebuff 2026-03-29 21:24:58 +02:00
Meow c0c3f9a21c Fix for other channels to have a castbar again 2026-03-28 19:19:45 +01:00
Meow 2f61716858 fixed castbar not showing properly for abilitys like Hunter Volley 2026-03-28 12:46:44 +01:00
Meow 57cbf1d1b6 updated link for nampower installation guide. 2026-03-26 15:29:13 +01:00
Meow 68ff49be24 fixed castbar for channeling units 2026-03-22 10:38:53 +01:00
Meow 48c5d50f51 Fix swing timer not resetting on resisted/missed spells
The swing timer now correctly resets when your spell is resisted or misses. Previously, a resisted Moonfire (for example) would not reset the swing timer bar even though the server had already reset your actual swing — causing the bar to desync until the next auto-attack.
2026-03-05 04:09:56 +01:00
Meow 3922d9879e fixed typos and cleaned up comments 2026-03-02 19:13:45 +01:00
Meow 958aff610b libdebuff version push for nampower - UPDATE!
libdebuff version push for nampower - UPDATE!
2026-03-02 13:09:19 +01:00
Meow b91ef05a96 SuperWoW dependency fully removed
Read the Readme for more informations please.
2026-03-02 13:05:22 +01:00
Meow c7aca0de99 GUID replacements
* Replace all `local _, guid = UnitExists(unit)` with `GetUnitGUID(unit)` (Nampower 3.0.0+)
* Bump minimum required Nampower version to 3.0.0
2026-03-02 10:41:49 +01:00
Meow 90fc2f83ff libdebuff
Making it as obviousl as i can for players to update...
2026-03-02 09:30:08 +01:00
Meow 668bb3d21f small update
small update
2026-03-02 09:21:15 +01:00
Meow b987789c9e Updated libdebuff
- nampower requirement is now more opposite, showing a big red text on screen and an option to display the link in chat...
2026-03-02 09:16:59 +01:00
Meow 9ec6496b97 small libdebuff adding
Added NP_EnableSpellHealEvents to spelldebuff.lua for proper heal prediction tracking
2026-03-02 09:04:07 +01:00
Meow 6649656d82 got rid of more superwow checks, we have nampower now! 2026-02-28 22:12:51 +01:00
Meow 5bdb7f97f3 version push - read the readme for more details
version push - read the readme for more details
2026-02-28 08:29:04 +01:00
Meow 9950b91d75 added missing nil check for data 2026-02-26 15:08:11 +01:00
Meow 073c18f864 performance improvement
- Changed SpellInfo to GetSpellRecField (it's twice as fast and has less impact on performance)
- different caching method for buffs/debuffs
2026-02-24 19:06:38 +01:00
Meow f17bd34d72 possible fix to show stacks properly
possible fix to show stacks properly
2026-02-24 18:37:22 +01:00
Meow 52f212d329 swingtimer fix for warriors
Heoric strike now is shown within the swing timer.
2026-02-23 18:40:16 +01:00
Meow 82339338a6 Version push for latest nampower release
Version push for latest nampower release
2026-02-22 23:19:24 +01:00
Meow 236a2fce6c perf/fix: port experimental optimizations + focus rework + raidmarkers
Performance optimizations ported from experimental:
- libdebuff: replace 5s startup timer with next-frame defer
- libdebuff: use arg6 auraSlot directly (Nampower 2.29+) instead of GetDebuffSlotMap lookup
- libdebuff: invalidate slotMapCache on PLAYER_TARGET_CHANGED
- nameplates: detect Nampower 2.27.2+ for GUID-based nameplate lookup

Raidmarkers module ported from experimental:
- added raidmarkers.lua
- added config defaults and GUI section
- registered in modules.xml

focus.lua rework:
- removed CastSpellByNameNoQueue (Nampower's CastSpellByName now supports unit tokens/GUIDs natively)
- /focus Name: TargetByName with correct previous target restore + ClearTarget() fallback
- /focus Name: prefix match via SlashCmdList.TARGET when exact match fails
- suppress UI_ERROR_MESSAGE during targeting attempts

swingtimer fixes:
- non-Hunter ranged bar now fills left->right like MH/OH
- fix 1px artifact on Hunter bar center by using Hide() instead of SetWidth(0.1)
2026-02-22 19:08:37 +01:00
Meow f1048bd7bb Revert "possible fix for libpredict to not show resses that are canceled."
This reverts commit 947b11f918.
2026-02-20 20:25:16 +01:00
Meow 947b11f918 possible fix for libpredict to not show resses that are canceled.
possible fix for libpredict to not show resses that are canceled.
2026-02-20 19:03:28 +01:00
Meow 8248e4ed91 possible fix for healpredicts with queued casting
possible fix for healpredicts with queued casting
2026-02-18 22:45:07 +01:00
Meow 6a18eafc5e version update push
version update push
2026-02-18 13:39:42 +01:00
Meow 759c6ef0e5 more missing update checks... 2026-02-17 11:04:47 +01:00
Meow 5029f1b3b7 fixed a version check for nampower 2026-02-17 11:02:32 +01:00
Meow 37da46d474 forced version push for latest pfui
forced version push for latest pfui
2026-02-17 01:44:03 +01:00
Meow 645f247c87 fixed missing combo point logics 2026-02-16 17:24:41 +01:00
Meow be4f8d8f22 Fixed castbar for focus
Fixed castbar for focus
2026-02-16 15:18:06 +01:00
Meow fcdd75d4c5 fix for vanishing castbars
fix for vanishing castbars
2026-02-07 21:04:02 +01:00
Meow f43b8f19f8 update for libdebuff
Read the readme!
Version push
2026-02-06 16:32:13 +01:00
Meow 9f0a30d546 small fix
small fix
2026-02-05 08:14:07 +01:00
Meow 10401bc48b Revert "expose armor duration"
This reverts commit 4f6ce12c7b.
2026-02-05 08:11:32 +01:00