X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/2cb3a289b5b6b45db36f6d9c722be8a30aedb3e2..6781949d1bb06f1c765b8f6cd4927442c56f49fc:/OmaAB/ExpBar.lua?ds=sidebyside diff --git a/OmaAB/ExpBar.lua b/OmaAB/ExpBar.lua index 5584213..9505c78 100644 --- a/OmaAB/ExpBar.lua +++ b/OmaAB/ExpBar.lua @@ -10,7 +10,7 @@ local running = false; local frame = CreateFrame("Frame", "OmaArtifactBar", UIParent); local function expBar() - frame:SetPoint("BOTTOM"); + frame:SetPoint("BOTTOM", UIParent, "BOTTOM", 0, 8); frame:SetWidth(width); frame:SetHeight(8); frame.base = frame:CreateTexture(nil, "BACKGROUND"); @@ -75,7 +75,7 @@ local function expBar() end frame:SetScript("OnEvent", function(self, event) - if UnitLevel("player") < 120 and not IsXPUserDisabled() then + if UnitLevel("player") < 60 and not IsXPUserDisabled() then return expBar(); end end);