Quantcast

woops

Darth Predator [03-26-17 - 12:11]
woops
Filename
ElvUI_SLE/modules/databars/artifact.lua
diff --git a/ElvUI_SLE/modules/databars/artifact.lua b/ElvUI_SLE/modules/databars/artifact.lua
index 11606fe..84e4dcd 100644
--- a/ElvUI_SLE/modules/databars/artifact.lua
+++ b/ElvUI_SLE/modules/databars/artifact.lua
@@ -24,7 +24,8 @@ local function UpdateArtifact(self, event)
 	if hasArtifact then
 		local text = ''
 		local totalXP, pointsSpent = T.select(5, C_ArtifactUIGetEquippedArtifactInfo());
-		local numPointsAvailableToSpend, xp, xpForNextPoint = MainMenuBar_GetNumArtifactTraitsPurchasableFromXP(pointsSpent, totalXP);
+		local tier = T.select(13, C_ArtifactUIGetEquippedArtifactInfo());
+		local numPointsAvailableToSpend, xp, xpForNextPoint = MainMenuBar_GetNumArtifactTraitsPurchasableFromXP(pointsSpent, totalXP, tier);

 		local textFormat = self.db.artifact.textFormat
 		if textFormat == 'PERCENT' then