Commit Graph

2151 Commits

Author SHA1 Message Date
Meow cfbc1644fe removed superwow checkups, not required anymore
removed superwow checkups, not required anymore
2026-02-28 21:47:19 +01: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
Meow 92e22becce Added very accurate ranged swing timer.
Added very accurate ranged swing timer.
2026-02-20 15:14:16 +01:00
Meow 1f3991d004 fix for swing timer.
- Fixed swing timer hiding when you switched the target or had no target. Timer now always runs out showing you when the next swing is available even if you swap targets.
2026-02-19 18:04:23 +01:00
Meow 9e25bf6d2b Revert "fixed swing timer vanishing"
This reverts commit b422a01039.
2026-02-19 17:53:26 +01:00
Meow b422a01039 fixed swing timer vanishing
- Fixed swing timer hiding when you switched the target or had no target. Timer now always runs out showing you when the next swing is available even if you swap targets.
2026-02-19 17:51:32 +01:00
Meow fe93577825 working swingtimer re-written - no errors on load
working swingtimer re-written - no errors on load >.<
2026-02-19 17:16:48 +01:00
Meow ff277d15ad reverted swingtimer changes to old stable version until bugs are fixed...
reverted swingtimer changes to old stable version until bugs are fixed...
2026-02-19 14:48:18 +01:00
Meow a2cdaeb73c reverting last commit since it caused conflicts.
reverting last commit since it caused conflicts.
2026-02-19 07:31:39 +01:00
Meow 862d3e30ee fix for swing timer.
* fixed swing timer incorrectly advancing when HITINFO_NOACTION is set (server did not move swing clock)
2026-02-19 05:13:10 +01:00
Meow 53969ddc01 swing timer fixes and additions
* fixed offhand timer incorrectly showing for 2H weapon users
* fixed sw_texture resolving pfUI.media key correctly instead of passing raw file path
* added proper offhand weapon detection via GetEquippedItem + GetItemStatsField (Nampower), with vanilla API fallback
* added UNIT_DIED event to reset timer when target dies
* added ACTIONBAR_SLOT_CHANGED event to keep HS/Cleave slot cache up to date
* added immediate offhand bar hide when OH weapon is unequipped mid-combat
* added player GUID caching for UNIT_DIED comparison
* added GUI options: texture, font size, show/hide timer text, MH/OH labels, offhand bar, HS/Cleave queue color
* added HS/Cleave queue color coding for Warriors (green = Cleave, yellow = Heroic Strike)
* added unit frame text options: attack speed, min/max damage, unit string, HP/mana display variants, pet name
* removed unreliable dual-wield heuristic guard (mhAge < 0.1)

Co-authored-by: Zedris
2026-02-19 05:04:32 +01:00
Meow f4279be074 fix for swingtimer still showing after target dies.
fix for swingtimer still showing after target dies.
2026-02-18 16:34:35 +01:00
Meow ca2e6c74d7 added offhand swing for swintimer
added offhand swing for swintimer
2026-02-18 16:23:32 +01:00
Meow b5a7e86ab4 new module named swingtimer
new module named swingtimer
2026-02-18 16:13:17 +01:00
Meow 9d6aca9b43 removed dead code
removed dead code
2026-02-18 14:13:58 +01:00
Meow 7165be5636 fix for nameplates sometimes not showing casttimes of mobs
fix for nameplates sometimes not showing casttimes of mobs
2026-02-18 13:37:40 +01:00
Meow c99a35eb82 castspellbyname unit
castspellbyname unit
2026-02-17 16:59:30 +01:00
Meow a2d449cd59 fixed /pfcast to use mouseover properly again
fixed /pfcast to use mouseover properly again
2026-02-17 16:55:18 +01:00
Meow 4c780a1036 updated donation link by request of players... 2026-02-17 15:43:28 +01:00
Meow 64c50e9580 some small changes for druid mana bar
some small changes for druid mana bar
2026-02-17 12:54:09 +01:00
Meow b9eaae5a57 improvements for druid mana bar
improvements for druid mana bar
2026-02-17 12:22:01 +01:00
Meow 221f015677 Changed Spellinfo into GetSpellRec for nampower only support
Changed Spellinfo into GetSpellRec for nampower only support
2026-02-17 01:29:27 +01:00
Meow 7e10a3670d updated focus.lua to use directly CastSpellByName with arg2
updated focus.lua to use directly CastSpellByName with arg2
2026-02-16 23:25:39 +01:00
Meow 5c28fcb9af removed debug code
removed debug code
2026-02-16 15:22:13 +01:00