Files
pfUI/modules
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
..
2026-01-03 12:58:31 +01:00
2026-02-04 22:48:30 +01:00
2026-02-04 22:48:30 +01:00
2026-02-06 08:07:33 +01:00
2026-01-25 08:44:16 +01:00
2017-07-19 10:35:01 +02:00
2026-03-02 10:41:49 +01:00
2026-03-20 21:02:13 +01:00
2026-03-22 01:02:42 +01:00
2026-03-20 17:25:15 +01:00
2026-03-09 03:06:41 +01:00
2026-02-04 22:48:30 +01:00
2026-01-10 15:28:16 +01:00
2026-02-17 16:59:30 +01:00
2026-03-11 05:18:51 +01:00
2026-01-08 12:25:18 +01:00
2026-03-20 21:02:13 +01:00
2026-02-06 16:32:13 +01:00
2026-03-02 10:41:49 +01:00
2026-03-13 13:40:38 +01:00
2026-02-06 08:07:33 +01:00
2026-01-11 17:00:11 +01:00
2026-03-20 22:15:42 -07:00
2026-03-22 13:11:54 +01:00
2026-03-04 01:55:18 +01:00