diff Modules/PaperDoll.lua @ 81:65ec88b30eb8

- OrderHall plugin converted to a general world state cluster. Includes: - Suramar ancient mana - Artifact power/XP progress - OrderHall bar shrinker
author Nenue
date Mon, 17 Oct 2016 04:57:32 -0400
parents bb6b532c5d2f
children 74e714637d6a
line wrap: on
line diff
--- a/Modules/PaperDoll.lua	Tue Oct 11 08:03:41 2016 -0400
+++ b/Modules/PaperDoll.lua	Mon Oct 17 04:57:32 2016 -0400
@@ -77,7 +77,7 @@
     nextRankCost = GetCostForPointAtRank(pointsSpent + pointsAvailable) or 0
   end
   self.Header:SetText(name)
-  self.Level:SetText(pointsSpent)
+  self.Level:SetText((pointsAvailable >= 1) and (pointsSpent .. ' ('.. pointsAvailable..')') or (pointsSpent))
   self.ProgressText:SetFormattedText("|cFF00FFFF%d|r / %d", totalXP, nextRankCost)
 
   self.ProgressBar:SetPoint('TOPRIGHT', self.ProgressBG, 'TOPLEFT', self:GetWidth()*(totalXP/nextRankCost), 0)