promotional bannermobile promotional banner

Combatter - Combat Timer

A lightweight combat timer that tracks how long each fight lasts.

File Details

Combatter1.1.zip

  • R
  • Mar 24, 2026
  • 11.26 KB
  • 1.4K
  • 12.0.1
  • Retail

File Name

Combatter1.1.zip

Supported Versions

  • 12.0.1

Combatter Changelog

1.1

  • Group combat mode: timer stays running while any party or raid member is in combat
  • Fade out: timer fades after combat ends, with configurable delay and duration
  • Fade out now also triggers on login/reload when not in combat
  • Timer snaps to fully visible when settings is open; resumes fade on close if fade out is enabled
  • Performance: localised frequently-called globals (math.floor, math.min, GetTime, etc.) to avoid repeated _G lookups
  • Performance: backdrop descriptor table hoisted to a module constant, eliminating a per-call allocation on every UI element draw
  • Performance: pre-built unit ID string arrays (raid1raid40, party1party4) to avoid string concatenation during combat checks
  • Performance: UNIT_FLAGS event now filters to tracked group unit tokens only, ignoring pets, NPCs, and vehicles
  • Fix: group combat check now correctly excludes the player from the raid unit scan
  • Fix: SafeGet rewritten to avoid ipairs({...}) vararg table allocation on every ElvUI colour lookup

1.0 — Initial Release

  • MM:SS combat timer that counts up during combat, freezes on combat end, and resets on the next pull
  • Moveable, draggable frame with saved position
  • ElvUI colour integration (background, border, and accent colours auto-matched)
  • LibSharedMedia-3.0 support for font selection
  • Adjustable font size via slider or manual input (10–120pt)
  • Four font rendering modes: None, Shadow, Outline, Thick Outline
  • Colour pickers for in-combat and out-of-combat text colours
  • Show/hide background toggle
  • Frame lock (makes the timer click-through when locked)
  • Pixel nudger and Center Horizontal / Center Vertical position buttons
  • /ct or /combatter to open settings