Originally Posted by
Drayarr
Going to assume this goes in the Skada Damage Lua - But where? I had tried editing the Lua around line 217-221 but to no avail
Which Skada version are you currently using? Are you trying to add, or remove the number format? Do you want said change for only either of the damage or dps numbers or for both?
Skada has had built-in support for condensed numbers since version r446, dated back to April 1st. This option is found in "General options" -> "Number format", this option will enable/disable condensed numbers for both damage and dps.
If you instead are seeking to have only one of the numbers condensed, you can do so by removing the function wrap from the number you do not want to be condesed in the lines 217-221 in Damage.lua and leaving the in-game option for condensed numbers on.
Example, stop the condensing of dps numbers:
Code:
d.valuetext = Skada:FormatValueText(
Skada:FormatNumber(player.damage), self.metadata.columns.Damage,
Skada:FormatNumber(dps), self.metadata.columns.DPS,
string.format("%02.1f%%", player.damage / set.damage * 100), self.metadata.columns.Percent
)