Commit Graph

120 Commits

Author SHA1 Message Date
Brues b18e6ffa67 refresh buff durations on player 2026-05-21 02:35:46 -05:00
Meow b6e1f3cfb2 moved this.lastmax = nil to an other block (pull request) 2026-03-30 17:25:17 +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 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
Meow 963c1c4427 fixed castbar to work properly for spells like Volley 2026-03-27 17:36:10 +01:00
Meow 2ef9c5ee1e Refactor nameplate cast tracking to be fully GUID-based
Problem:
Since a recent Turtle-WoW update, nameplates would show the same castbar on all mobs sharing a name (e.g. multiple "Defias Rogue Wizard"). Additionally, a targeted mob that was not casting would incorrectly display the castbar of a nearby mob with the same name.

Changes:
**`modules/nameplates.lua`**
- Removed `hasNampower` version-sniffing entirely. Nampower is a hard requirement for pfUI; all related guards have been removed and the code runs unconditionally.
- Castbar lookup now always uses `nameplate.cachedGuid` directly — never `GetUnitGUID("target")` or a unit name string.
- Removed dead fallback block using `UnitCastingInfo("target")`.
- Restored fallback via `pfGetCastInfo(cachedGuid)` / `pfGetChannelInfo(cachedGuid)` (see libcast changes below) for casts not tracked by libdebuff (e.g. already-in-progress casts on login).

**`libs/libcast.lua`**
- Renamed `UnitCastingInfo` → `pfGetCastInfo` and `UnitChannelInfo` → `pfGetChannelInfo` to avoid confusion with the Blizzard API of the same name, which does not exist in Vanilla.
- Name-based fallback lookup (`libcast.db[unitName]`) is now skipped when a GUID is available. This prevents cast bleed between mobs that share a name.

**`libs/libpredict.lua`, `modules/castbar.lua`, `modules/afkcam.lua`**
- Updated all call sites to use the renamed `pfGetCastInfo` / `pfGetChannelInfo`.
2026-03-23 10:47:42 +01:00
Meow 68ff49be24 fixed castbar for channeling units 2026-03-22 10:38:53 +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 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
Meow 30d36a5af1 Revert "add optional sp/haste display to player frame" 2026-02-28 22:44:49 +01:00
pepopo978 3373751884 add optional sp/haste display to player frame 2026-02-28 12:41:34 -08: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 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 9d6aca9b43 removed dead code
removed dead code
2026-02-18 14:13:58 +01:00
Meow 5c28fcb9af removed debug code
removed debug code
2026-02-16 15:22:13 +01:00
Meow be4f8d8f22 Fixed castbar for focus
Fixed castbar for focus
2026-02-16 15:18:06 +01:00
Meow f43b8f19f8 update for libdebuff
Read the readme!
Version push
2026-02-06 16:32:13 +01:00
Meow 54355c9019 enhanced merge into master
Final release!
2026-02-04 22:48:30 +01:00
Meow b1540c4b4c tick.time adjustments
tick.time adjustments
2026-01-11 00:09:08 +01:00
Meow 7f93ebefaf Throttles
Added throttle for player castbar, player frame and Raidframes
2026-01-10 14:31:47 +01:00
Meow 34f5c3eb02 Version 6.1.0 - Raid/Party Frame Fixes
Bugfixes:
- Fixed 40-yard range check not working for raid/party frames
- Fixed aggro indicator not displaying properly on raid/party frames
- Improved aggro cache to only cache positive results for instant detection
- Fixed HP/Mana not updating with "Use Raid Frames for group" enabled
- Added SuperWoW nil-check for SpellInfo
- Added missing events: PARTY_MEMBER_ENABLE, PARTY_MEMBER_DISABLE, PLAYER_UPDATE_RESTING

UI Improvements:
- Share/Hoverbind buttons now show warning when module is disabled
2026-01-08 12:25:18 +01:00
Meow 5d0e195d1e performance update
performance update
2026-01-03 12:58:31 +01:00
shagu eea59bc94a castbar: synchronize empty focus unit with castbar 2025-08-13 09:08:05 +02:00
shagu 01c7d68db9 castbar: dodge oversized unitframe portraits 2025-07-24 09:30:44 +02:00
shagu 3af870a225 castbar: attach back to unit frame size by default 2025-07-24 09:21:39 +02:00
shagu 6690dff2e9 castbar: attach to unit power bar by default 2025-07-21 16:09:25 +02:00
shagu b66ccd9198 castbar: ignore empty or invalid unitstr 2025-06-24 11:51:30 +02:00
shagu 89a2e53e27 castbar: synchronize focus values with unitframe data 2025-06-24 11:21:55 +02:00
dbulatovicx32 013dc81494 castbar: add options for x and y text offsets 2025-05-25 14:14:02 +02:00
shagu f1d789837a castbar: add support for label/id based focus frames 2025-04-06 14:43:20 +02:00
shagu f420c5f7f7 castbar: increase framelevel of castbar 2024-11-04 14:18:04 +01:00
shagu cc5ad5d3d4 castbar: rework channel and superwow logic 2024-05-10 09:27:04 +02:00
shagu 59878b3f8f thirdparty: add support for superwow spell cast 2024-05-09 10:49:03 +02:00
shagu 228d4f99b4 castbar: make spell rank visible again 2023-03-19 19:00:10 +01:00
Pizzahawaiii 0011dab2fb castbar: add options to hide spell names and timers 2022-12-26 10:36:55 +01:00
shagu 3d561954cb castbar: keep default casting bars hidden 2021-07-15 19:36:07 +02:00
shagu 8c7579ad26 castbar: reset delays on new spell casts 2020-12-08 21:56:39 +01:00
shagu 246b9b224f castbar: only trigger delays on player events 2020-12-08 21:54:08 +01:00
shagu 4cb5dda2cc castbar: use same frame spacing as in unitframes 2020-12-08 17:15:46 +01:00
shagu cc385c11f1 castbar: limit lag to maximum castbar width 2020-09-11 20:12:52 +02:00
shagu ffaa2f4f42 castbar: abort when no endtime was detected 2020-03-16 16:16:18 +01:00
shagu c6cf2b0600 castbar: remove shadow from icon 2020-03-13 16:14:44 +01:00
shagu fdbf6715dc focus: enable native focus units for tbc 2020-02-17 18:37:26 +01:00
shagu 0ed0b66ac7 castbar: add option to display ranks 2020-01-31 22:55:52 +01:00
shagu 3334c7469f modules: make all modules aware of the new borders 2019-12-18 18:54:09 +01:00
shagu 89fec7abdc castbar: prefer unitstrings over names 2019-08-30 19:57:45 +02:00
shagu e9237b59b2 core: use concrete string based client checks 2019-06-10 17:06:31 +02:00