What it does
A companion for Blizzard's built-in Damage Meter. It computes nothing of its own, so every number on screen is still Blizzard's. What it adds is layout and readability.
Retail only, patch 12.1. No libraries, no dependencies, one small folder.
Features
Readable numbers
56716 K becomes 56.72M, in combat as well. The abbreviation is the client's own routine, which takes the Secret values an addon is not allowed to read and hands back a string the bar can show. It is the same chain Details paints with.
All three of Blizzard's Numbers modes keep their own layout, down to the format strings and the rounding. The one exception is Complete during combat: its percentage needs arithmetic, the client refuses arithmetic on Secret values by every route I could find, and a Complete row without its percentage is a different mode. So in combat those rows stay exactly as Blizzard paints them, and they pick up the shorter numbers again when the fight ends.
Window snapping
Drag a window near another one and a green bar shows which edges are about to meet. Let go and they attach: the pair moves together, and the axis you joined on matches size. Windows chain, the gap between them is configurable, and a window dropped near a screen edge lands flush with it.
A window page
/dmc lists Blizzard's three windows with their size in pixels, what is attached to what, the gap, a lock per window, and Lock all / Unlock all. Window 1's size goes through Edit Mode, which is the only thing allowed to set it.
Transparency and layer
The meter dims when the mouse is away and comes back when it is over it, as a fraction of the Edit Mode transparency you already set. The frame layer is a dropdown, for when another addon covers the meter.
The meter's own settings in one place
Blizzard's Enable and Auto Reset switches are mirrored at the bottom of the page and marked as theirs, and the meter's gear menu has an entry that opens the page. That entry is added out of combat only.
Key bindings
Show or hide the meter, hide every extra window, reset the data.
Commands
- /dmc (or /dmt) - settings
- /dmc format, /dmc snap - toggle one feature
- /dmc diag - what the addon sees, per window; handy in a bug report
- /dmc probe - what the API says about Secret values right now
What it does not do
No parsing, no storage, no analysis, no skins, no report to chat.
It also never opens Blizzard's breakdown, never switches a window's type or segment, and never creates windows past Blizzard's three. On 12.x anything an addon writes into those windows taints them, and the meter then logs a warning per row in every fight until you reload. Each of those features was built, watched to do exactly that, and removed.
Locking a window, setting a size and showing a hidden slot do go through Blizzard's code. They stay because a reload clears them completely, so a size change or a show offers you one, once per session. Dragging, snapping and the gap never need it.
Blizzard's meter is the meter. If you want a meter of your own, use Details.
Source
github.com/AqueGen/DamageMeterCompanion - issues and pull requests welcome.

