Mobhealth.lua
The file is the core component of several legendary World of Warcraft (WoW) addons, most notably MobHealth , MobHealth3 , and RealMobHealth . It serves as a bridge between the game's hidden mechanics and the player's tactical interface by estimating and storing the health points (HP) of NPCs. The Technical Role of MobHealth.lua
World of Warcraft Vanilla 1.12.1 AddOn MobHealth ... - GitHub MobHealth.lua
[1.12. 1] Displays current and maximum health numbers for targeted mobs. Read this in other languages: English, Português. The file is the core component of several
: The script tracks the damage dealt to a target and compares it to the percentage drop in the target’s health bar. If a player deals 100 damage and the mob's health drops by 10%, the script calculates the total health as 1,000 HP. - GitHub [1
In "Vanilla" and early versions of WoW Classic , the game server did not send absolute health values (e.g., "1,200/1,200") to the client for enemy NPCs; it only sent percentages (0–100%). functions as a persistent database and calculation engine to solve this:
: Once a mob's health is calculated, MobHealth.lua saves this data to the player's SavedVariables folder . This ensures that the next time the player targets that specific NPC type at that level, the health is immediately visible without needing to deal damage again.