242 - Target's health percentage showing decimal
With this patch, the target's health percentage shows one decimal. So you'll finally know how much that 1% wipe *really* was.
XPerl\XPerl.lua
Line 8, ADD:
local percF = "%.1f"..PERCENT_SYMBOL
Line 708, REPLACE
bar.percent:SetFormattedText(percD or "%d%%", (percent + 0.005) * 100)
WITH
local fmt = percD if percent < 1 then fmt = percF end bar.percent:SetFormattedText(fmt or "%d%%", percent * 100)
- 1 comment
- 1 comment
- #1
Zeksie Sun, 23 Aug 2009 02:11:03Thought about this a couple of times. The 1% mystery is not so bad now that the real health values of things were exposed in the API some time ago. Will see how it comes out on screen later.