1.4.118 Initial commit
- Added/updated skill gems and bases - Fixed curse stats with wrong sign - Fixed wrong sources on quality mods
This commit is contained in:
@@ -3,23 +3,21 @@
|
||||
-- Class: Skill List
|
||||
-- Skill list control.
|
||||
--
|
||||
local launch, main = ...
|
||||
|
||||
local ipairs = ipairs
|
||||
local t_insert = table.insert
|
||||
local t_remove = table.remove
|
||||
|
||||
local SkillListClass = common.NewClass("SkillList", "ListControl", function(self, anchor, x, y, width, height, skillsTab)
|
||||
self.ListControl(anchor, x, y, width, height, 16, true, skillsTab.socketGroupList)
|
||||
local SkillListClass = newClass("SkillListControl", "ListControl", function(self, anchor, x, y, width, height, skillsTab)
|
||||
self.ListControl(anchor, x, y, width, height, 16, false, true, skillsTab.socketGroupList)
|
||||
self.skillsTab = skillsTab
|
||||
self.label = "^7Socket Groups:"
|
||||
self.controls.delete = common.New("ButtonControl", {"BOTTOMRIGHT",self,"TOPRIGHT"}, 0, -2, 60, 18, "Delete", function()
|
||||
self.controls.delete = new("ButtonControl", {"BOTTOMRIGHT",self,"TOPRIGHT"}, 0, -2, 60, 18, "Delete", function()
|
||||
self:OnSelDelete(self.selIndex, self.selValue)
|
||||
end)
|
||||
self.controls.delete.enabled = function()
|
||||
return self.selValue ~= nil and self.selValue.source == nil
|
||||
end
|
||||
self.controls.deleteAll = common.New("ButtonControl", {"RIGHT",self.controls.delete,"LEFT"}, -4, 0, 70, 18, "Delete All", function()
|
||||
self.controls.deleteAll = new("ButtonControl", {"RIGHT",self.controls.delete,"LEFT"}, -4, 0, 70, 18, "Delete All", function()
|
||||
main:OpenConfirmPopup("Delete All", "Are you sure you want to delete all socket groups in this build?", "Delete", function()
|
||||
wipeTable(self.list)
|
||||
skillsTab:SetDisplayGroup()
|
||||
@@ -32,7 +30,7 @@ local SkillListClass = common.NewClass("SkillList", "ListControl", function(self
|
||||
self.controls.deleteAll.enabled = function()
|
||||
return #self.list > 0
|
||||
end
|
||||
self.controls.new = common.New("ButtonControl", {"RIGHT",self.controls.deleteAll,"LEFT"}, -4, 0, 60, 18, "New", function()
|
||||
self.controls.new = new("ButtonControl", {"RIGHT",self.controls.deleteAll,"LEFT"}, -4, 0, 60, 18, "New", function()
|
||||
local newGroup = {
|
||||
label = "",
|
||||
enabled = true,
|
||||
|
||||
Reference in New Issue
Block a user