Eastern Sun Lunar Eclipse1.10f closed realm

Damage numbers

The amount of every hit floats over the unit it landed on: what you deal over the monster, what you take over your character.

When a hit lands, its amount appears over the unit that took it and rises for a second and a quarter. Hits you deal show over the monster, hits your summons and your hireling deal show a little quieter, and hits you take show over your own character. The number is the hit's whole amount, the one the monster's life came down by, so a 20,000,000 hit reads 20,000,000 and a hit held at the game's old 8,388,607 ceiling no longer shows as less than it took.

A hit can show split by element. One per Element, the default, gives each element a number of its own in its colour: physical, fire, lightning, cold, poison and magic, so a 1,200 physical hit with 340 fire and 80 lightning floats up as three numbers, each a moment after the one before. Physical + Elemental shows two, the physical part and everything else. One Number shows one, the whole hit with every element added, in the colour of its largest element unless you turn Colour by Main Type off. Every number takes the next place in a spread round the monster's head, so a burst of hits fans out instead of stacking in one column. Split Each Hit only splits one hit: a skill that hits several times, or an aura or proc that lands its own hit, still shows a number for each hit, and Add Up Rapid Hits joins those.

A critical or deadly strike doubles the physical part: that number takes the critical colour and size and a !. The killing blow's numbers grow to their own size, and are gold when hits show as one number. Both sizes are against a plain hit's, so they stay larger whatever size you give the plain hits.

Numpad 9 turns the numbers off and on in a game (Key={{setting plugin/DamageNumbers.ini DamageNumbers.Key}} in DamageNumbers.ini). With the mod's renderer the choices are in its menu, Ctrl+O, Interface, under Item Cards: Damage Numbers, then hits you deal, your pets' hits, hits you take, Add Up Rapid Hits (separate hits on one monster within 120 ms as one number, for a Zeal, a fork or a proc), Short Numbers (15.7M for 15,745,926), Split Each Hit, Mark Critical Strikes, a colour picker for each element, the critical strike, the killing blow and each kind of hit, and a size for a plain hit, a critical strike, the killing blow and a hit you take. Without the mod's renderer the plugin draws plain text, one number a hit, and takes its choices from DamageNumbers.ini.

You see your own hits and your own wounds only. Another player's hits on a monster beside you are not shown, and no one sees yours.

How it is kept

The game server sees every hit as it takes the life off (the same place the life past 8,388,607 is taken from) and sends your own game a line for each frame's hits, inside a chat message your game reads and never prints: which unit, how much, whether it killed. The line carries each element of the hit as the game summed it and whether it was a critical strike. Your game draws the numbers where the unit stands, over the top of what it drew of the unit that frame, and keeps a number where the unit last stood when the unit is gone. The server credits a summon's, a hireling's or a trap's hit to its owner, and a missile's to the unit that fired it. DamageNumbers.log beside the plugin says on the server that the hits go to the players, and on your game that the first line arrived and who draws it.

Poison, burning and open wounds take life a little each frame by another path, and crushing blow takes its share of life through an item event, so none of them shows a number. The poison number in a split hit is poison damage that landed with the hit itself.