HazeBrainDamage

A World of Warcraft addon for in-game damage and healing calculations.

File Details

HazeBrainDamage-1.4.0.zip

  • R
  • Mar 30, 2026
  • 106.34 KB
  • 15
  • 2.5.5+1
  • Classic + 1

File Name

HazeBrainDamage-1.4.0.zip

Supported Versions

  • 2.5.5
  • 1.15.8

[1.4.0] - 2026-03-29

Added

  • Melee/ranged damage calculation path — Physical abilities now use weapon damage + attack power instead of spell power
  • Display type dropdown in Overlay settings panel for both top and bottom overlays
  • canCrit, isMelee, isRanged fields in calculation results for correct downstream behavior
  • UNIT_STATS event handler for event-driven stat updates

Fixed

  • Physical abilities (Warrior, Rogue, Hunter) no longer incorrectly add spell power to damage
  • Overlay healing detection now uses isHealing boolean instead of nonexistent avgHealing field
  • FormatValueForType() now uses correct field names (avgWithCrit not avgCrit, etc.)
  • Tooltip crit chance now correctly hidden for non-crittable spells (DoTs)
  • Tooltip coefficient line hidden for melee/ranged abilities
  • Duplicate GetHighestSpellRank() — removed Calculations.lua copy, kept SpellData.lua with IsSpellKnown() check
  • Duplicate InitializeActionBars() call removed — now single delayed init from Core.lua
  • Class data initialization moved from Mage.lua to Core.lua (no longer fragile to load order)
  • Version mismatch between Config.lua ADDON_INFO and TOC

Changed

  • Replaced 1-second OnUpdate stat poller with event-driven UNIT_STATS handler
  • Class files now use addon.Print() instead of DEFAULT_CHAT_FRAME:AddMessage()
  • Removed duplicate HazeBrainDamage = addon assignment from Config.lua