Skip to content

Repository files navigation

LibMobs

Worlf of Warcraft library of important emenies from instances.

Usage

localLibMobs=LibStub("LibMobs")
assert(LibMobs, "Addon requires LibMobs")
localframe=CreateFrame("Frame")
frame:RegisterEvent("PLAYER_TARGET_CHANGED")
frame:SetScript("OnEvent", function (self, event, ...)
ifevent=="PLAYER_TARGET_CHANGED" thenlocalunit="target"localguid=UnitGUID(guid)
localguidInfo=LibMobs:ParseCreatureGUID(guid)
ifguidInfothenprint(guidInfo.instanceId, guidInfo.zoneID)
endendend)

About

library to help track important instance npcs

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages