diff --git a/Modules/Build.lua b/Modules/Build.lua index eb20b64d..fa838ee2 100644 --- a/Modules/Build.lua +++ b/Modules/Build.lua @@ -104,23 +104,23 @@ function buildMode:Init(dbFileName, buildName) -- Controls: Side bar self.anchorSideBar = common.New("Control", nil, 4, 36, 0, 0) - self.controls.modeImport = common.New("ButtonControl", {"TOPLEFT",self.anchorSideBar,"TOPLEFT"}, -1, 0, 134, 20, "Import/Export Build", function() + self.controls.modeImport = common.New("ButtonControl", {"TOPLEFT",self.anchorSideBar,"TOPLEFT"}, 0, 0, 134, 20, "Import/Export Build", function() self.viewMode = "IMPORT" end) self.controls.modeImport.locked = function() return self.viewMode == "IMPORT" end - self.controls.modeTree = common.New("ButtonControl", {"TOPLEFT",self.anchorSideBar,"TOPLEFT"}, -1, 26, 60, 20, "Tree", function() + self.controls.modeTree = common.New("ButtonControl", {"TOPLEFT",self.anchorSideBar,"TOPLEFT"}, 0, 26, 72, 20, "Tree", function() self.viewMode = "TREE" end) self.controls.modeTree.locked = function() return self.viewMode == "TREE" end - self.controls.modeSkills = common.New("ButtonControl", {"LEFT",self.controls.modeTree,"RIGHT"}, 4, 0, 60, 20, "Skills", function() + self.controls.modeSkills = common.New("ButtonControl", {"LEFT",self.controls.modeTree,"RIGHT"}, 4, 0, 72, 20, "Skills", function() self.viewMode = "SKILLS" end) self.controls.modeSkills.locked = function() return self.viewMode == "SKILLS" end - self.controls.modeItems = common.New("ButtonControl", {"LEFT",self.controls.modeSkills,"RIGHT"}, 4, 0, 60, 20, "Items", function() + self.controls.modeItems = common.New("ButtonControl", {"LEFT",self.controls.modeSkills,"RIGHT"}, 4, 0, 72, 20, "Items", function() self.viewMode = "ITEMS" end) self.controls.modeItems.locked = function() return self.viewMode == "ITEMS" end - self.controls.modeCalcs = common.New("ButtonControl", {"LEFT",self.controls.modeItems,"RIGHT"}, 4, 0, 60, 20, "Calcs", function() + self.controls.modeCalcs = common.New("ButtonControl", {"LEFT",self.controls.modeItems,"RIGHT"}, 4, 0, 72, 20, "Calcs", function() self.viewMode = "CALCS" end) self.controls.modeCalcs.locked = function() return self.viewMode == "CALCS" end diff --git a/Modules/ModParser.lua b/Modules/ModParser.lua index 1a083293..e04d9da5 100644 --- a/Modules/ModParser.lua +++ b/Modules/ModParser.lua @@ -394,7 +394,6 @@ local specialModList = { ["poisonous hit"] = { poisonChance = 100 }, ["has no sockets"] = { }, ["has 1 socket"] = { }, - ["grants level (%d+) (.+) skill"] = { }, ["%+(%d+) to level of socketed gems"] = function(num) return { ["SocketedIn:X_gemLevel_all"] = num } end, ["%+(%d+) to level of socketed (%a+) gems"] = function(num, _, type) return { ["SocketedIn:X_gemLevel_"..type] = num } end, ["%+(%d+)%% to quality of socketed (%a+) gems"] = function(num, _, type) return { ["SocketedIn:X_gemQuality_"..type] = num } end, diff --git a/manifest.xml b/manifest.xml index e7856b7d..27b7009f 100644 --- a/manifest.xml +++ b/manifest.xml @@ -1,8 +1,8 @@ - - + + @@ -33,7 +33,7 @@ - + @@ -41,7 +41,7 @@ - +