DamageTooltipTBC

Shows incoming damage in mouseover tooltip for quick checks. Useful for everyone but especially for tanks and healers

File Details

DamageTooltip.zip

  • R
  • Apr 17, 2026
  • 3.87 KB
  • 13
  • 2.5.5
  • Classic TBC

File Name

DamageTooltip.zip

Supported Versions

  • 2.5.5

IncomingDamageTooltip Changelog

v1.2.1 – Final Stable Version (Minimal & Robust)

  • Rock-solid table-based parsing: local info = { CombatLogGetCurrentEventInfo() }
  • Exact index mapping for SWING_DAMAGE, SPELL_DAMAGE, and RANGE_DAMAGE (no unpacking bugs)
  • Fully TBC Anniversary / Classic Era safe
  • Icons + school colors + timestamps all working
  • No debug prints, no test data, no extras — clean production code
  • Load message: IncomingDamageTooltip v1.0 loaded. (green)

v1.1.2 – Load Confirmation & Polish

  • ADDON_LOADED event with chat message on /reload
  • Cleaner tooltip hook with early returns and self:Show()
  • Fixed SWING_DAMAGE amount index

v1.1 – TBC Compatibility & Bitmask Fix (Critical)

  • Bitmask-aware GetSchoolColor() (handles combined schools like Frostfire)
  • Dual-path combat log parsing (CombatLogGetCurrentEventInfo + legacy fallback)
  • Safer event handling to prevent nil values
  • .toc Interface version notes (20504 / 20503 / 20400)

v1.0.1 – Visual Upgrades

  • Spell icons via GetSpellTexture(spellId) (sword fallback for melee)
  • School-based coloring with SCHOOL_COLORS table
  • Icon prefix in tooltip: |Ttexture:14|t
  • Improved line formatting

v1.0 – Initial Release (Basic functionality)

  • Complete addon structure (.toc + .lua)
  • COMBAT_LOG_EVENT_UNFILTERED listener (player only)
  • Stores last 10 events (MAX_EVENTS = 10)
  • Tooltip injection on mouseover of your own character frame
  • Basic lines: Spell: 1234 (5s)