Quantcast

Disabling artifact stuff

MilleXIV [09-02-16 - 15:26]
Disabling artifact stuff
Filename
modules/talent.lua
diff --git a/modules/talent.lua b/modules/talent.lua
index 20e1469..0e5d6ae 100644
--- a/modules/talent.lua
+++ b/modules/talent.lua
@@ -57,8 +57,8 @@ function TalentModule:Refresh()
   if self.talentFrame == nil then return; end
   if not db.modules.talent.enabled then return; end

-  --local artifactId = 0
-  local artifactId = self.LAD:GetActiveArtifactID() or 0
+  local artifactId = 0
+  --local artifactId = self.LAD:GetActiveArtifactID() or 0

   self.currentSpecID = GetSpecialization()
   self.currentLootSpecID = GetLootSpecialization()
@@ -150,6 +150,7 @@ function TalentModule:Refresh()
 end

 function TalentModule:UpdateArtifactBar(artifactId)
+  return
   local _, artifactData = self.LAD:GetArtifactInfo(artifactId)
   self.specBar:SetMinMaxValues(0, artifactData.maxPower)
   self.specBar:SetValue(artifactData.power)