We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d883822 commit 75529aeCopy full SHA for 75529ae
Statuses/Resource.lua
@@ -453,12 +453,25 @@ function PlexusStatusResource:UpdateUnitResource(unitid)
453
end
454
455
456
+ local text = current
457
+ if type(current) == "number" then
458
+ if Plexus:IsRetailWow() then
459
+ text = Plexus:AbbreviateNumbers(current)
460
+ else
461
+ if current > 9999 then
462
+ text = format("%.0fk", current / 1000)
463
+ elseif current > 999 then
464
+ text = format("%.1fk", current / 1000)
465
+ end
466
467
468
+
469
self.core:SendStatusGained(
470
unitGUID, "unit_resource",
471
priority,
472
nil,
473
color,
- nil,
474
+ text,
475
current,max,
476
nil
477
)
0 commit comments