LibClassicMobHealth-1.0

LibClassicMobHealth-1.0

26.1k Downloads

This project is a continuation of the LGPL LibMobHealth-4.0 library, authored by ckknight.

WARNING: This is still in development in the WoW Classic Beta!

This item may be used embedded, but for best results it should be installed stand-alone so it saves it's database of mob health to a single savedvariable.

Basic usage is as follows:

local hp = LibStub("LibClasicMobHealth-1.0"):GetMaxHP("Young Wolf", 2)

local maxhp, found = LibStub("LibClasicMobHealth-1.0"):GetUnitMaxHP("target")

local curhp, found = LibStub("LibClasicMobHealth-1.0"):GetUnitCurrentHP("target")

local curhp, maxhp, found = LibStub("LibClasicMobHealth-1.0"):GetUnitHealth("target")