LibTarget (1.0.0)
LibTarget
Share non-boss mob info with your group
What is it?
The whole group can see a boss’s health, but only the player targeting a regular mob can see its health. LibTarget fixes that. When a group member looks at a tracked mob, the library shares that mob’s health with everyone through LibGroupBroadcast.
This is a library: it does nothing on its own and is meant to be used by other addons.
Features
Mob health, shared by the group members targeting the mob
Ultimate, stamina and magicka of each group member
Mob position estimate (experimental)
Runs only while in a group, and restarts automatically after a reloadui or a zone change
Requirements
LibGroupBroadcast
Quick start for developers
## DependsOn: LibTarget
LibTarget.Tracker(true, {
{“Mob Name A”, 1}, — {exact mob name, ID from 1 to 255}
{“Mob Name B”, 2},
})
LibTarget.Tracker(false) — stop tracking
Important: every group member must use the same IDs for the same mobs, and mob names must match the client language.
Shared data:
Mobs: LibTarget.SwapingInfo
Players: LibTarget.SwapingInfo

