Commit Graph

2293 Commits

Author SHA1 Message Date
Brues 9ba4b3e408 buffwatch via C_UnitAuras
Player branch in GetBuffData now reads from C_UnitAuras.GetAuraDataByIndex
directly, dropping the GetPlayerBuff chain plus the tooltip-scan for the
buff name. Lazy bid resolution for CancelPlayerBuff. All four tooltip
calls (SetPlayerBuff/SetUnitBuff/SetUnitDebuff x2) collapse to the unified
GameTooltip:SetUnitAura. UnitDebuff dispel-color lookup at line 312 reads
aura.dispelName instead. libdebuff path preserved for non-player units
that still need caster correlation.
2026-05-21 03:10:59 -05:00
Brues b18e6ffa67 refresh buff durations on player 2026-05-21 02:35:46 -05:00
Brues 82743b0f9a UnitAUra cleanup 2026-05-18 23:42:51 -05:00
Brues b9343ec601 utilize SetUnitAura 2026-05-18 22:43:50 -05:00
Brues bcb71c8cca swpping to GetActionInfo 2026-05-18 13:20:09 -05:00
Brues 67146ef3a4 begin utilizing ClassicAPI 2026-05-16 13:02:38 -05:00
Meow 93c4166052 possible fix for raid frames not showing up when pfui raid frames are hidden 2026-04-11 21:35:22 +02:00
Meow f49bf4f1a9 Skip firstrun if importing shared profile 2026-04-11 21:24:36 +02:00
Meow 5ef01174d6 New module - InnervateCall (only for druids)
- This module will call in group/raid and battleground if you innervated yourself or someone else.
- The module will inform your group/raid/battleground if innervate is ready again.
2026-04-11 21:10:57 +02:00
Meow 85dce25804 added slam and hammer of wrath to swingtimer 2026-04-11 20:46:38 +02:00
Meow f0963c4e99 small fix for marktracking display 2026-04-10 17:31:02 +02:00
Meow 9128f02133 Add fill order option for actionbars
- "Row-first" fills buttons left-to-right, top-to-bottom (1,2,3 / 4,5,6)
- "Column-first" fills top-to-bottom, left-to-right (1,3,5 / 2,4,6)
- "Auto" preserves the original behavior based on uneven orientation
2026-04-10 16:33:06 +02:00
Meow 5f9e69933f Revert "Added a fillmode variant to actionbars"
This reverts commit 0838c6ec3a.
2026-04-10 15:26:18 +02:00
Meow 0838c6ec3a Added a fillmode variant to actionbars 2026-04-10 15:24:39 +02:00
Meow 6fb45b3971 nameplate fixes
- fixed raidicon to bug out if nameplates for specific unit types are hidden
- fixed raidicon to NOT be behind the nameplate when nameplates are shown
2026-04-04 00:28:11 +02:00
Meow d1692288f4 raid icon fix 2026-04-03 01:15:25 +02:00
Meow fbb1b9df46 Refactor: Tracking spell detection
Improved tracking spell detection to use SpellID + icon path matching (case-insensitive) for more accurate and locale-independent results
2026-04-02 19:32:00 +02:00
Meow a0e3fbb00d taking over nameplates.lua from experiment branch 2026-04-02 06:07:50 +02:00
Meow 22968b6c23 added back throttle control for players in pfui 2026-04-02 04:55:29 +02:00
Meow 136aca02c5 Performance update for nameplates: optimize update loop, combat detection and debuff rendering
- Decouple OnValueChanged from OnDataChanged to prevent expensive
  full updates on every HP tick

- Replace UnitAffectingCombat(guid) with GetUnitField(flags) bitcheck
  and add 0.2s per-GUID throttle cache for GetCombatStateColor

- Gate HP bar SetMinMaxValues/SetValue and text formatting behind
  hp/hpmax change detection

- Inline castbar update into per-plate OnUpdate loop, remove dedicated
  castbarFrame overhead

- Switch debuff slot cache from name-keyed to slot-index-keyed to fix
  timer reset bug when debuffs shift after expiry

- Add raidGuidCache (rebuilt on RAID_ROSTER_UPDATE/PARTY_MEMBERS_CHANGED)
  for O(1) offtank target-name lookup

- Add UNIT_FLAGS_GUID event support for instant combat flag notification
  (Nampower)

- Extract RebuildOfftanks() to ensure offtanks table is populated at
  startup, not only on config change

- Reuse childs table across scan ticks to reduce GC pressure

- Add zoominstant config option to skip zoom animation

- Add combatColorCache cleanup on plate hide and combat leave

Please report any bugs that appear after this change, since it is a huge change.
2026-04-02 04:15:18 +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 88c8968158 Adjusted raidicons to be in FRONT of the health bar, not behind it 2026-03-31 02:52:00 +02:00
Meow 491fcd51c8 New option to pick Original or pfui raid marks! 2026-03-31 02:20:53 +02:00
Meow 91590b5025 Changed the raid icons to use the original Blizzard icons! 2026-03-31 01:43:05 +02:00
Meow e66062c3b6 pull request modification from @Doite for actionbar 2026-03-31 01:12:10 +02:00
Meow 3ecc52e4cc Revert "Fix for bar layout+alternatives+uneven orientation" 2026-03-30 18:53:48 +02:00
Meow 474135ec15 Merge branch 'master' of https://github.com/me0wg4ming/pfUI 2026-03-30 17:25:19 +02:00
Meow b6e1f3cfb2 moved this.lastmax = nil to an other block (pull request) 2026-03-30 17:25:17 +02:00
Meow 8ad254c01e Merge pull request #126 from florian-gustin/master
Maul Swing color timer
2026-03-30 17:04:21 +02:00
Meow 2bbc5f1e52 Merge pull request #131 from Player-Doite/master
Fix for bar layout+alternatives+uneven orientation
2026-03-30 17:03:58 +02:00
Meow 77f50fbf9b possible fix for timers vanishing on nameplates. 2026-03-30 16:20:42 +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 811d606650 castbar: fix pushback display for casts and channels
- use SPELL_DELAYED_SELF (nampower) for cast pushback instead of pfGetCastInfo
- use SPELLCAST_CHANNEL_UPDATE remaining time for channel pushback
- move SetMinMaxValues outside endTime guard so bar visually extends on pushback
2026-03-29 23:42:30 +02:00
Meow f14b881cff fixed castbar to show cast delays properly again. 2026-03-29 23:00:14 +02:00
Meow f5cc0dabf2 fixed a bug with uf_tukui module (missing nil value) 2026-03-29 19:28:04 +02:00
Meow c1c9b4b55e fixed castbar being not smooth for some rare case players on nameplates 2026-03-29 01:30:47 +01:00
florian-gustin 8a2ad1af1b Merge pull request #5 from me0wg4ming/master
mfo
2026-03-29 00:42:28 +01:00
Meow 4fe7795f24 Branch-aware update notifications
Master and experiment users no longer cross-notify each other about updates. The version message now includes a branch tag (master or exp) derived from the toc version string at runtime — only players on the same branch trigger the update notification. No config needed, works automatically.
2026-03-28 15:01:32 +01:00
Meow 462f087ece fixed fake castbar showing up for some hunter spells/abilitys. 2026-03-28 14:31:37 +01:00
Meow 956582ff08 Fixed missing ranks.
- Added a new method to display spellrank when casting spells (nampower GetSpellRecField)
2026-03-28 12:59:44 +01:00
florian-gustin 26d582c74f Merge pull request #4 from me0wg4ming/master
Merging from official
2026-03-27 18:49:40 +01:00
Meow 963c1c4427 fixed castbar to work properly for spells like Volley 2026-03-27 17:36:10 +01:00
Meow c8625668d4 Added missing zone/map infos
Thanks @paokkerkir for pointing it out.
2026-03-27 17:06:52 +01:00
Meow af26bb1844 Adjsted xp bar display again...
- Added tooltip that current display caps at 113% even though it is supposed to cap at 100% by the server. Please report this.
2026-03-27 15:07:26 +01:00
Meow 49fd015d20 turtle-wow change
- XP bar for rested xp has been capped to 100% max  by turtle-wow, not 150% - adjusted the formular to be accurate.
2026-03-27 14:35:48 +01:00
Player-Doite c29b69d469 Added and fixed form layout+ uneven orientation
Stance/Form/Aura bar layout fix (before wrong), plus support for uneven rows.
2026-03-26 19:06:25 +01:00
florian-gustin 295ec0acfd Merge pull request #3 from me0wg4ming/master
Merging from official
2026-03-26 18:44:10 +01:00
Meow f43b7c7342 changed nameplate castbars to look more smooth 2026-03-26 13:30:48 +01:00
Meow 14a5ccb4fe fixed xp bar to show false rested values. 2026-03-26 12:27:21 +01:00