Skip to content

Commit

Permalink
Release 1.4.168
Browse files Browse the repository at this point in the history
- Fixed 1 socket + 1 notable Medium Cluster Jewel generation
  • Loading branch information
Openarl committed Mar 24, 2020
1 parent b664ad0 commit 4758267
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 33 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 1.4.168 - 2020/03/24
* Fixed Medium Cluster Jewels with 1 socket and 1 notable generating bad clusters

### 1.4.167 - 2020/03/22
* Small passives in Large and Medium Cluster Jewel wheels now have the correct node artwork
* Fixed nodes allocated through Intuitive Leap not remaining allocated after loading the build
Expand Down
52 changes: 26 additions & 26 deletions Classes/PassiveSpec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -751,24 +751,24 @@ function PassiveSpecClass:BuildSubgraph(jewel, parentSocket, id, upSize)
if #notableIndexList == notableCount then
break
end
if not indicies[nodeIndex] then
if clusterJewel.size == "Medium" then
if socketCount == 0 and notableCount == 2 then
-- Special rule for two notables in a Medium cluster
if nodeIndex == 6 then
nodeIndex = 4
elseif nodeIndex == 10 then
nodeIndex = 8
end
elseif nodeCount == 4 then
-- Special rule for notables in a 4-node Medium cluster
if nodeIndex == 10 then
nodeIndex = 9
elseif nodeIndex == 2 then
nodeIndex = 3
end
if clusterJewel.size == "Medium" then
if socketCount == 0 and notableCount == 2 then
-- Special rule for two notables in a Medium cluster
if nodeIndex == 6 then
nodeIndex = 4
elseif nodeIndex == 10 then
nodeIndex = 8
end
elseif nodeCount == 4 then
-- Special rule for notables in a 4-node Medium cluster
if nodeIndex == 10 then
nodeIndex = 9
elseif nodeIndex == 2 then
nodeIndex = 3
end
end
end
if not indicies[nodeIndex] then
t_insert(notableIndexList, nodeIndex)
end
end
Expand Down Expand Up @@ -807,19 +807,19 @@ function PassiveSpecClass:BuildSubgraph(jewel, parentSocket, id, upSize)
if #smallIndexList == smallCount then
break
end
if not indicies[nodeIndex] then
if clusterJewel.size == "Medium" then
-- Special rules for small nodes in Medium clusters
if nodeCount == 5 and nodeIndex == 4 then
if clusterJewel.size == "Medium" then
-- Special rules for small nodes in Medium clusters
if nodeCount == 5 and nodeIndex == 4 then
nodeIndex = 3
elseif nodeCount == 4 then
if nodeIndex == 8 then
nodeIndex = 9
elseif nodeIndex == 4 then
nodeIndex = 3
elseif nodeCount == 4 then
if nodeIndex == 8 then
nodeIndex = 9
elseif nodeIndex == 4 then
nodeIndex = 3
end
end
end
end
if not indicies[nodeIndex] then
t_insert(smallIndexList, nodeIndex)
end
end
Expand Down
2 changes: 1 addition & 1 deletion Data/3_0/ModCache.lua

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Export/spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4339,7 +4339,7 @@ return {
name="Stats",
refTo="Stats",
type="Key",
width=420
width=640
},
[4]={
list=false,
Expand Down
1 change: 1 addition & 0 deletions Modules/ModParser-3_0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ local modNameList = {
["mana reserved"] = "ManaReserved",
["mana reservation"] = "ManaReserved",
["mana reservation of skills"] = "ManaReserved",
["maximum life, mana and global energy shield"] = { "Life", "Mana", "EnergyShield" },
-- Primary defences
["maximum energy shield"] = "EnergyShield",
["energy shield recharge rate"] = "EnergyShieldRecharge",
Expand Down
2 changes: 2 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
VERSION[1.4.168][2020/03/24]
* Fixed Medium Cluster Jewels with 1 socket and 1 notable generating bad clusters
VERSION[1.4.167][2020/03/22]
* Small passives in Large and Medium Cluster Jewel wheels now have the correct node artwork
* Fixed nodes allocated through Intuitive Leap not remaining allocated after loading the build
Expand Down
10 changes: 5 additions & 5 deletions manifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<PoBVersion>
<Version number="1.4.167"/>
<Version number="1.4.168"/>
<Source part="program" url="https://raw.githubusercontent.com/Openarl/PathOfBuilding/{branch}/"/>
<Source part="tree" url="https://raw.githubusercontent.com/Openarl/PathOfBuilding/{branch}/"/>
<Source part="tree-2_6" url="https://raw.githubusercontent.com/Openarl/PathOfBuilding/{branch}/tree-2_6.zip"/>
Expand All @@ -14,7 +14,7 @@
<File sha1="72b9bea1871e94a643e4471fd84bbedbc7810336" name="UpdateCheck.lua" part="program"/>
<File sha1="4f17937f2b37784e169a3792b235f2a0a3961e61" name="UpdateApply.lua" part="program"/>
<File sha1="4cf43ef67fe750c22e15c7a63d7f77cce7768dba" name="GameVersions.lua" part="program"/>
<File sha1="c735978861ffe8542624b51095d73945a2009be4" name="changelog.txt" part="program"/>
<File sha1="273fd98cf1200bcab7a41e367bc869dba4c97a14" name="changelog.txt" part="program"/>
<File sha1="b093a2709f30c1f83ce5ba9df88c80f22c1beb4a" name="Classes/BuildListControl.lua" part="program"/>
<File sha1="16fc5eaa04cc14b2022f6705a12717935454dab0" name="Classes/ButtonControl.lua" part="program"/>
<File sha1="cbd81d978d2bcb18b3e705ff3b27e2556f632cde" name="Classes/CalcBreakdownControl.lua" part="program"/>
Expand Down Expand Up @@ -42,7 +42,7 @@
<File sha1="2fa5f20b12a4b366dc4b28a2a873699b834766d6" name="Classes/ModList.lua" part="program"/>
<File sha1="9cf4d06384857b6f5fb86c67ecefbf6f1fa62ee3" name="Classes/ModStore.lua" part="program"/>
<File sha1="cc7c5eff58c2868cdc7d4c1bf9a967aa8c448c9e" name="Classes/NotesTab.lua" part="program"/>
<File sha1="17c151e26d72290676b6b4f85955f8411940fb81" name="Classes/PassiveSpec.lua" part="program"/>
<File sha1="c35fe82dd92e4faf4a4171c5da905af86a9d94c9" name="Classes/PassiveSpec.lua" part="program"/>
<File sha1="ab46589aefb4be643f7c1e95ba52d7916128b865" name="Classes/PassiveSpecListControl.lua" part="program"/>
<File sha1="67c5833a49598d4f5b689427a1f04bd9c28ee325" name="Classes/PassiveTree.lua" part="program"/>
<File sha1="070766a4f0a4362ae5e9bdd3f9713051cae81791" name="Classes/PassiveTreeView.lua" part="program"/>
Expand Down Expand Up @@ -80,7 +80,7 @@
<File sha1="d74918586d5ae396fc9bea4c4b6e4aa6bfad8d3e" name="Modules/ItemTools.lua" part="program"/>
<File sha1="8921a99ea9bd3e4eb352a0ed50a0242d58173b70" name="Modules/Main.lua" part="program"/>
<File sha1="fc2d3bdf7a4e57894b3d04beb83485cc6dcc5e26" name="Modules/ModParser-2_6.lua" part="program"/>
<File sha1="d06d895b71530f55f582756d88d86a5dae8d680f" name="Modules/ModParser-3_0.lua" part="program"/>
<File sha1="2461fa2d108ca6506bd5fbfa712f922d04496a04" name="Modules/ModParser-3_0.lua" part="program"/>
<File sha1="2ce4f3b83db992a286bd92f3849d037d6dcc8db2" name="Modules/ModTools.lua" part="program"/>
<File sha1="cb77b8c6931a5c4c4695fc66f222422365d19a73" name="Modules/StatDescriber.lua" part="program"/>
<File sha1="c345cdcf374d271411aa424ab150c0edbb5a362d" name="Assets/game_ui_small.png" part="program"/>
Expand Down Expand Up @@ -161,7 +161,7 @@
<File sha1="d5d4cef749cd941faac6712af57f58134ff70f8c" name="Data/3_0/Gems.lua" part="program"/>
<File sha1="7cc4a932e49bf54e32487dfe7c64809593bc69c3" name="Data/3_0/Minions.lua" part="program"/>
<File sha1="0d0ff8a9b691c2daa94fd51c8a35f6a0771c39cf" name="Data/3_0/Misc.lua" part="program"/>
<File sha1="fc867c37426793c8f938823ecd5123f1781e3fc8" name="Data/3_0/ModCache.lua" part="program"/>
<File sha1="24e36a88f117d9f8faf8319ac5e7aeb346ed9c8c" name="Data/3_0/ModCache.lua" part="program"/>
<File sha1="f7c3d168265f7b0ba7cf8da1268f59d014194867" name="Data/3_0/ModFlask.lua" part="program"/>
<File sha1="aa61b7b715cdea9333cbe133b8dc7ffbe5820238" name="Data/3_0/ModItem.lua" part="program"/>
<File sha1="f1f46093699e48f16ffd45f674e6b954dc8ac89e" name="Data/3_0/ModJewel.lua" part="program"/>
Expand Down

0 comments on commit 4758267

Please sign in to comment.