Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
LocalIdentity committed Dec 5, 2023
2 parents 73e3088 + 0d190b9 commit da5291c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Classes/ImportTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ function ImportTabClass:ImportPassiveTreeAndJewels(json, charData)
end
end
end
self.build.spec:ImportFromNodeList(charData.classId, charData.ascendancyClass, charPassiveData.hashes, charPassiveData.skill_overrides, charPassiveData.mastery_effects or {}, latestTreeVersion .. (charData.league:match("Ruthless") and "_ruthless" or ""))
self.build.spec:ImportFromNodeList(charData.classId, charData.ascendancyClass, 0, charPassiveData.hashes, charPassiveData.skill_overrides, charPassiveData.mastery_effects or {}, latestTreeVersion .. (charData.league:match("Ruthless") and "_ruthless" or ""))
self.build.spec:AddUndoState()
self.build.characterLevel = charData.level
self.build.characterLevelAutoMode = false
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/CalcDefence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ function calcs.buildDefenceEstimations(env, actor)
if destType ~= damageType then
dotShiftTable[destType] = modDB:Sum("BASE", nil, damageType.."DamageTakenAs"..destType, isElemental[damageType] and "ElementalDamageTakenAs"..destType or nil)
dotDestinationTotal = dotDestinationTotal + dotShiftTable[destType]
shiftTable[destType] = dotShiftTable[destType] + modDB:Sum("BASE", nil, damageType.."DamageFromHitsTakenAs"..destType, isElemental[damageType] and "ElementalDamageFromHitsTakenAs"..destType or nil)
shiftTable[destType] = dotShiftTable[destType] + modDB:Sum("BASE", nil, damageType.."DamageTakenFromHitsAs"..destType, isElemental[damageType] and "ElementalDamageTakenFromHitsAs"..destType or nil)
destTotal = destTotal + shiftTable[destType]
end
end
Expand Down
8 changes: 4 additions & 4 deletions src/Modules/Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1022,18 +1022,18 @@ function main:OpenUpdatePopup()
end
end
local controls = { }
controls.changeLog = new("TextListControl", nil, 0, 20, 780, 192, nil, changeList)
controls.update = new("ButtonControl", nil, -45, 220, 80, 20, "Update", function()
controls.changeLog = new("TextListControl", nil, 0, 20, 780, 542, nil, changeList)
controls.update = new("ButtonControl", nil, -45, 570, 80, 20, "Update", function()
self:ClosePopup()
local ret = self:CallMode("CanExit", "UPDATE")
if ret == nil or ret == true then
launch:ApplyUpdate(launch.updateAvailable)
end
end)
controls.cancel = new("ButtonControl", nil, 45, 220, 80, 20, "Cancel", function()
controls.cancel = new("ButtonControl", nil, 45, 570, 80, 20, "Cancel", function()
self:ClosePopup()
end)
self:OpenPopup(800, 250, "Update Available", controls)
self:OpenPopup(800, 600, "Update Available", controls)
end

function main:OpenAboutPopup(helpSectionIndex)
Expand Down

0 comments on commit da5291c

Please sign in to comment.