Description
- LibHealPredict is a robust backend tracking library designed to replace legacy, communication-reliant heal predictors like LibHealComm.
- Instead of broadcasting messages over chat channels to coordinate data, this library empowers each individual client to accurately derive incoming healing on its own. It achieves this by cross-referencing Blizzard's native
UnitGetIncomingHealsAPI with local aura scanning, combat log events, and cast-start tracking. - Because it requires no wire protocol, coordinator, or election process, it provides completely accurate heal prediction even if you are the only person in your raid using it.
- The library is strictly headless—meaning it does not touch saved variables, build user interfaces, or interact with unit frames—leaving consumer addons completely in control of how they choose to render the data.
HealBarsClassic - Revivedprovides a configurable user interface and includes this library already. This standalone library has been created for other user interface addons to consider embedding too.

Features
- Identifies who is casting what on whom entirely through client-side data, eliminating the need for addon communication protocols
- Calculates exact incoming amounts for direct heals, channeled heals, and heals over time (HoTs)
- Constructs dynamic lists of incoming heals paired with accurate start and end times to support time-based rendering
- Utilizes subgroup-based estimation and combat log tracking to accurately predict group heals (like Prayer of Healing and Tranquility) where native APIs traditionally fall short
- Calculates accurate HoT tick intervals using combat log data, actively rejecting timing outliers caused by missed events or lag
- Employs strict object pooling for cast and segment tables to minimize memory allocations and prevent garbage collection stutter during combat
- Safely resolves native API limitations by deduplicating casters by their exact GUID, preventing the double-counting of heals when a single player triggers multiple unit tokens
- Contains zero UI elements or frame logic, allowing consumer addons full freedom to handle their own toggles and rendering
- Exposes a clean callback system allowing consumer addons to update their displays instantly and efficiently.

Donations
- If you like my work, please consider a donation: https://paypal.me/GrumpyPlayers

