LibClassicMobHealth-1.0

LibClassicMobHealth-1.0 is a library that attempts to guess the health of a unit where the API does not otherwise return an accurate value.

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")

 

The LibClassicMobHealth-1.0 Team

profile avatar
  • 6
    Projects
  • 860.5K
    Downloads

More from PneumatusView all