Release 1.4.82

- Fixed some UI glitches when using SPoK with a skill that has parts
This commit is contained in:
Openarl
2018-03-03 02:25:36 +10:00
parent f7cc0f987f
commit af55ff675f
5 changed files with 22 additions and 10 deletions

View File

@@ -1,3 +1,7 @@
### 1.4.82 - 2018/03/03
* Fixed a few odd UI glitches when using Summon Phantasm on Kill with an active skill that has multiple parts
* A side effect is that the sidebar stat box now expands upwards to fill any empty space below the main skill selector
### 1.4.81 - 2018/03/02
* Added the 3 new skill gems introduced in 3.2
* Summoned Phantasms are not fully supported, as their projectile spell cannot be added yet

View File

@@ -60,7 +60,7 @@ local CalcsTabClass = common.NewClass("CalcsTab", "UndoHandler", "ControlHost",
self.build.buildFlag = true
end)
}, },
{ label = "Skill Part", flag = "multiPart", { controlName = "mainSkillPart",
{ label = "Skill Part", playerFlag = "multiPart", { controlName = "mainSkillPart",
control = common.New("DropDownControl", nil, 0, 0, 130, 16, nil, function(index, value)
local mainSocketGroup = self.build.skillsTab.socketGroupList[self.input.skill_number]
local srcGem = mainSocketGroup.displaySkillListCalcs[mainSocketGroup.mainActiveSkillCalcs].activeGem.srcGem
@@ -354,6 +354,9 @@ function CalcsTabClass:CheckFlag(obj)
end
end
end
if obj.playerFlag and not self.calcsEnv.player.mainSkill.skillFlags[obj.playerFlag] then
return
end
if obj.notFlag and skillFlags[obj.notFlag] then
return
end

View File

@@ -428,14 +428,14 @@ function buildMode:Init(dbFileName, buildName, buildXML, targetVersion)
self.modFlag = true
self.buildFlag = true
end)
self.controls.mainSkillPart = common.New("DropDownControl", {"TOPLEFT",self.controls.mainSocketGroup,"BOTTOMLEFT"}, 0, 20, 150, 18, nil, function(index, value)
self.controls.mainSkillPart = common.New("DropDownControl", {"TOPLEFT",self.controls.mainSkill,"BOTTOMLEFT",true}, 0, 2, 150, 18, nil, function(index, value)
local mainSocketGroup = self.skillsTab.socketGroupList[self.mainSocketGroup]
local srcGem = mainSocketGroup.displaySkillList[mainSocketGroup.mainActiveSkill].activeGem.srcGem
srcGem.skillPart = index
self.modFlag = true
self.buildFlag = true
end)
self.controls.mainSkillMinion = common.New("DropDownControl", {"TOPLEFT",self.controls.mainSocketGroup,"BOTTOMLEFT"}, 0, 20, 178, 18, nil, function(index, value)
self.controls.mainSkillMinion = common.New("DropDownControl", {"TOPLEFT",self.controls.mainSkillPart,"BOTTOMLEFT",true}, 0, 2, 178, 18, nil, function(index, value)
local mainSocketGroup = self.skillsTab.socketGroupList[self.mainSocketGroup]
local srcGem = mainSocketGroup.displaySkillList[mainSocketGroup.mainActiveSkill].activeGem.srcGem
if value.itemSetId then
@@ -467,14 +467,15 @@ function buildMode:Init(dbFileName, buildName, buildXML, targetVersion)
self.controls.mainSkillMinionLibrary = common.New("ButtonControl", {"LEFT",self.controls.mainSkillMinion,"RIGHT"}, 2, 0, 120, 18, "Manage Spectres...", function()
self:OpenSpectreLibrary()
end)
self.controls.mainSkillMinionSkill = common.New("DropDownControl", {"TOPLEFT",self.controls.mainSkillMinion,"BOTTOMLEFT"}, 0, 2, 200, 16, nil, function(index, value)
self.controls.mainSkillMinionSkill = common.New("DropDownControl", {"TOPLEFT",self.controls.mainSkillMinion,"BOTTOMLEFT",true}, 0, 2, 200, 16, nil, function(index, value)
local mainSocketGroup = self.skillsTab.socketGroupList[self.mainSocketGroup]
local srcGem = mainSocketGroup.displaySkillList[mainSocketGroup.mainActiveSkill].activeGem.srcGem
srcGem.skillMinionSkill = index
self.modFlag = true
self.buildFlag = true
end)
self.controls.statBox = common.New("TextListControl", {"TOPLEFT",self.controls.mainSocketGroup,"BOTTOMLEFT"}, 0, 62, 300, 0, {{x=170,align="RIGHT_X"},{x=174,align="LEFT"}})
self.controls.statBoxAnchor = common.New("Control", {"TOPLEFT",self.controls.mainSkillMinionSkill,"BOTTOMLEFT",true}, 0, 2, 0, 0)
self.controls.statBox = common.New("TextListControl", {"TOPLEFT",self.controls.statBoxAnchor,"BOTTOMLEFT"}, 0, 2, 300, 0, {{x=170,align="RIGHT_X"},{x=174,align="LEFT"}})
self.controls.statBox.height = function(control)
local x, y = control:GetPos()
return main.screenH - main.mainBarHeight - 4 - y
@@ -959,7 +960,8 @@ function buildMode:RefreshSkillSelectControls(controls, mainGroup, suffix)
t_insert(controls.mainSkillPart.list, { val = i, label = part.name })
end
controls.mainSkillPart.selIndex = activeGem.srcGem["skillPart"..suffix] or 1
elseif not activeSkill.skillFlags.disable and (activeGem.grantedEffect.minionList or activeSkill.minionList[1]) then
end
if not activeSkill.skillFlags.disable and (activeGem.grantedEffect.minionList or activeSkill.minionList[1]) then
wipeTable(controls.mainSkillMinion.list)
if activeGem.grantedEffect.minionHasItemSet then
for _, itemSetId in ipairs(self.itemsTab.itemSetOrderList) do

View File

@@ -1,3 +1,6 @@
VERSION[1.4.82][2018/03/03]
* Fixed a few odd UI glitches when using Summon Phantasm on Kill with an active skill that has multiple parts
* A side effect is that the sidebar stat box now expands upwards to fill any empty space below the main skill selector
VERSION[1.4.81][2018/03/02]
* Added the 3 new skill gems introduced in 3.2
* Summoned Phantasms are not fully supported, as their projectile spell cannot be added yet

View File

@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<PoBVersion>
<Version number="1.4.81"/>
<Version number="1.4.82"/>
<Source part="program" url="https://raw.githubusercontent.com/Openarl/PathOfBuilding/{branch}/"/>
<Source part="tree" url="https://raw.githubusercontent.com/Openarl/PathOfBuilding/{branch}/tree.zip"/>
<Source url="https://raw.githubusercontent.com/Openarl/PathOfBuilding/{branch}/runtime-win32.zip" part="runtime" platform="win32"/>
<File sha1="f46d80b42dfa037cf46004590a49d9aa6d0abd13" name="Launch.lua" part="program"/>
<File sha1="72b9bea1871e94a643e4471fd84bbedbc7810336" name="UpdateCheck.lua" part="program"/>
<File sha1="4f17937f2b37784e169a3792b235f2a0a3961e61" name="UpdateApply.lua" part="program"/>
<File sha1="1cbec30de726a4cd4468e19da1bd34c922d29ccd" name="changelog.txt" part="program"/>
<File sha1="b48a76a92a17b03bd124444e69823eb9a66da440" name="changelog.txt" part="program"/>
<File sha1="51a3c1027381bb36666568aaceec843164f8c957" name="Classes/BuildListControl.lua" part="program"/>
<File sha1="f85e8b60ff9bb41a3cc4ba8044f7a49163fdedd3" name="Classes/ButtonControl.lua" part="program"/>
<File sha1="4ec5144600bee20986da467f7aea1a911084bdf0" name="Classes/CalcBreakdownControl.lua" part="program"/>
<File sha1="97870e6a3bb96e11765b2ef15bf19b8f93c9b5f1" name="Classes/CalcSectionControl.lua" part="program"/>
<File sha1="6516b73e8611f43e80ca653b237ee81a6d86cc23" name="Classes/CalcsTab.lua" part="program"/>
<File sha1="664344550a8a6ecb61d9aff473d32b63bfdfd206" name="Classes/CalcsTab.lua" part="program"/>
<File sha1="786d96ae17fb5382d1777fb95782f6237c0ce55f" name="Classes/CheckBoxControl.lua" part="program"/>
<File sha1="7fda3f43dfa7d877b134cc30e76559c20f6a18ed" name="Classes/ConfigTab.lua" part="program"/>
<File sha1="117197d0e1df350dd5c502b1c121ae5b32c69ad5" name="Classes/Control.lua" part="program"/>
@@ -52,7 +52,7 @@
<File sha1="52a23c7290151f140e5917ee2d538e341d4b0148" name="Classes/TooltipHost.lua" part="program"/>
<File sha1="a8e1f0521753b461cba3c430839f386e8a673c02" name="Classes/TreeTab.lua" part="program"/>
<File sha1="4b7675c8b4fe71cade7dd3d70793df1ed8022d01" name="Classes/UndoHandler.lua" part="program"/>
<File sha1="f8691aeca6e95a68ed854a8dbe1d907cb9f066df" name="Modules/Build.lua" part="program"/>
<File sha1="e578284b14bbca46b21659ae4ed344d6ad6c9661" name="Modules/Build.lua" part="program"/>
<File sha1="2ff499ce5931e0b2a40ad16da316899d4859c257" name="Modules/BuildList.lua" part="program"/>
<File sha1="9906c815802d419bcb62cc5b7fcea271907effec" name="Modules/CalcActiveSkill.lua" part="program"/>
<File sha1="b31dca8bf6238a35b75429ab19dae7cc1fdf2207" name="Modules/CalcBreakdown.lua" part="program"/>