Poking around a bit
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user