From 2a1bfe9f54750d97ed123c8d6fa2e40ef6d0c1a2 Mon Sep 17 00:00:00 2001 From: Darth Predator Date: Sun, 26 Mar 2017 15:11:36 +0300 Subject: [PATCH] woops --- ElvUI_SLE/modules/databars/artifact.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.7.9.5