Commit Graph

2173 Commits

Author SHA1 Message Date
Meow bdfc13bb08 swingtimer rework 2026-03-04 19:18:01 +01:00
Meow 4fb4035f0c fixed a rare case where debuffs not been shown for nameplates 2026-03-04 03:02:26 +01:00
Meow fa7e4f8b40 Range Check: UnitXP mode
Added Range Check Mode dropdown (Vanilla / UnitXP) and UnitXP Range Threshold input field under the 40y-Range Check settings in the GUI
In UnitXP mode, UnitInRange bypasses librange entirely and queries UnitXP("distanceBetween") directly with the configured yard threshold
librange scan loop is disabled when UnitXP mode is active — no TargetUnit cycling, no spellbook scanning, no combat interruption
Fixed UnitInRange referencing librange as an undefined local instead of pfUI.api.librange, which caused silent nil returns
2026-03-04 02:27:11 +01:00
Meow 36ff524af1 unitxp update
- Added a range indicator for target frame (no, there won't be additionally one for group, raid and focus... why? performance reasons...)
2026-03-04 01:55:18 +01:00
Meow c9468e4033 fix: swing timer reset bugs (extra attacks, parry, slam)
Extra attacks (Sword Specialization, Windfury, Hand of Justice) no longer double the swing timer. Added fallback detection for servers that don't set HITINFO_NOACTION correctly: if AUTO_ATTACK_SELF fires while more than 20% of the current swing remains, it's treated as an extra attack and ignored.
Parry reset now uses correct Vanilla mechanic: resets timer to exactly 60% of weapon speed instead of incorrectly subtracting 40% from remaining time.
Slam now hard-resets the swing timer from now instead of chaining from the previous nextSwing, which caused inflated swing times (e.g. 3.76s showing as 4.3s).
2026-03-04 00:13:37 +01:00
Meow fd79a7e776 possible fix for swingtimer.lua
- Added slam and more check mechanics for swing timer.
2026-03-03 23:41:36 +01:00
Meow 6577b3c8d9 fix: escape double quotes in share module serialize
- The serialize() function didn't escape " in string values, causing exports to be invalid Lua whenever a value contained double quotes (e.g. clickcast macros like CastSpellByName("Nature's Swiftness")). This made the Import button stay red with no error message.
2026-03-03 23:10:55 +01:00
Meow 3922d9879e fixed typos and cleaned up comments 2026-03-02 19:13:45 +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 f7d177d135 Revert "Add skin for StatCompare and fix BetterCharacterStats" 2026-03-01 07:41:57 +01:00
Meow 42dfd6a413 Merge branch 'master' into sp-haste-display 2026-03-01 02:33:13 +01:00
Meow 544eea9d74 Merge pull request #80 from K0lonel/master
Add skin for StatCompare and fix BetterCharacterStats

Pullrequest by: K0lonel
2026-03-01 02:29:11 +01:00
Meow b0f6984f22 Revert "Merge pull request #78 from me0wg4ming/revert-77-sp-haste-display"
This reverts commit 791feed6d0, reversing
changes made to 054149f0e2.
2026-03-01 02:13:25 +01:00
Kolonel 4fa94ef0b1 Add StatCompare configuration option 2026-03-01 02:27:36 +02:00
Kolonel 5c483d3405 Enhance BetterCharacterStats and StatCompare skins 2026-03-01 02:23:57 +02:00
pepopo978 58271ec443 merge updates 2026-02-28 14:22:38 -08:00
pepopo978 3fed9333a0 disable for older nampower 2026-02-28 14:18:27 -08:00
Meow 30d36a5af1 Revert "add optional sp/haste display to player frame" 2026-02-28 22:44:49 +01:00
Meow 054149f0e2 Merge pull request #77 from pepopo978/sp-haste-display
add optional sp/haste display to player frame
2026-02-28 22:18:27 +01:00
pepopo978 70112e8a04 fix initial PlayerModCastingTime detection 2026-02-28 12:50:56 -08:00
Meow cfbc1644fe removed superwow checkups, not required anymore
removed superwow checkups, not required anymore
2026-02-28 21:47:19 +01:00
pepopo978 3373751884 add optional sp/haste display to player frame 2026-02-28 12:41:34 -08:00
Meow bd36d91189 added option to show debuffs only for enemys OR friendly nameplates
added option to show debuffs only for enemys OR friendly nameplates
2026-02-28 21:32:17 +01:00
Meow 988dfc7079 fix for nameplates and castbars
Removed SuperWoW dependency from castbar and nameplate cast detection. Cast interrupts (sidestep, spell failed) now correctly stop the castbar by setting event = "FAIL" / event = "CAST" on the libdebuff cache entry instead of nil-ing it — preventing stale local references from keeping the castbar alive. UnitCastingInfo fallback is retained for non-Nampower environments but no longer overrides Nampower cast state.
2026-02-28 10:18:30 +01:00
Meow b11deceb26 Fixed ResetSwingTimers scope error causing nil call in OnUpdate
Fixed ResetSwingTimers scope error causing nil call in OnUpdate
2026-02-26 20:14:25 +01:00
Meow 73caedb9ff possible fix for swing timer vanishing sometimes
possible fix for swing timer vanishing sometimes
2026-02-26 16:18:46 +01:00
Meow e3638cf0da Revert "preparing pfui for patch 1.18.1"
This reverts commit 77dfb4bb67.
2026-02-25 21:11:29 +01:00
Meow 7c0e95a4d3 removed false code
removed false code
2026-02-25 18:30:44 +01:00
Meow fb36c67935 more mapreveal fixes
more mapreveal fixes
2026-02-25 18:17:04 +01:00
Meow 7f60933e15 2 bugfixes
- Fixed channeling spells not showing up the rank after a spell is queued.
- Memory leak fix in mapreveal.lua
2026-02-25 18:15:18 +01:00
Meow 04a2413d72 renamed raidmers to marktracking for clarity
renamed raidmers to marktracking for clarity
2026-02-24 18:20:11 +01:00
Meow 77dfb4bb67 preparing pfui for patch 1.18.1
preparing pfui for patch 1.18.1
2026-02-24 16:17:54 +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 c0f4683e12 Merge branch 'master' of https://github.com/me0wg4ming/pfUI 2026-02-22 19:32:27 +01:00
Meow 1417ec6d04 health update
Fixed raid markers to update health on more events (health and maxhealth)
2026-02-22 19:32:25 +01:00
Meow 9f21b8ee7e Merge pull request #64 from Mats391/master
Adding colors to indicate day/night in clock
2026-02-22 19:29:30 +01:00
Meow 4deb9282e3 Merge pull request #65 from freohr/combat-rogue-energy-fix
Combat rogue energy fix
2026-02-22 19:25:00 +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
Stephen Faure 785a8bd3c3 Clean up the file before PR 2026-02-22 16:43:16 +01:00
Stephen Faure b36bf04e62 Apply energy timer reduction on energy event and on update 2026-02-22 16:35:03 +01:00
Stephen Faure de980b129e Add energy tick reduction calculation for Blade Rush Rogue 2026-02-22 15:51:48 +01:00
Mats391 d9249b366f Merge remote-tracking branch 'TWoWPfui/master' 2026-02-22 13:21:02 +01:00
Meow a5db589b61 allowed /focus name to even accept just a part of the name to attempt to target the right name 2026-02-22 01:23:04 +01:00
Meow 4b34620b25 changed focus.lua to use CastSpellByName instead of CastSpellByNameNoQueue 2026-02-22 00:44:48 +01:00
Meow 8c9aa84f91 fixed swing timer to show bar fader for warrior and rogues again 2026-02-21 20:46:10 +01:00
Meow 50daec8b61 added throttle of 60fps update rate for swing timer 2026-02-21 15:23:19 +01:00
Meow 1f2ded45c5 Swingtimer adjustments
- With nampower we have now real timers for offhand, main hand and ranged!
- changed the ranged frame to have it's own moveable bar.
2026-02-21 15:16:10 +01:00
Meow 570ba05a93 possible fix to NOT detect windfury procs as offhand swing 2026-02-21 05:32:55 +01:00
Meow 6f28fb3730 Added warn color for hunters ranged swing timers (hunters only)
Added warn color for hunters ranged swing timers (hunters only)
2026-02-20 16:01:01 +01:00