Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
LocalIdentity committed Aug 14, 2023
2 parents c65fd65 + a74d2ec commit 9b21024
Show file tree
Hide file tree
Showing 59 changed files with 142,865 additions and 5,884 deletions.
67 changes: 67 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,72 @@
# Changelog

## [v2.31.0](https://github.com/PathOfBuildingCommunity/PathOfBuilding/tree/v2.31.0) (2023/08/15)

[Full Changelog](https://github.com/PathOfBuildingCommunity/PathOfBuilding/compare/v2.30.1...v2.31.0)

<!-- Release notes generated using configuration in .github/release.yml at dev -->

## What's Changed
### New to Path of Building
- Add 3.22 Skill tree [\#6313](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6313) ([Regisle](https://github.com/Regisle))
- Add proper support for DPS with Scourge Arrow, Divine Ire, Flameblast and Incinerate [\#6245](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6245) ([LocalIdentity](https://github.com/LocalIdentity))
- Display Channel time for skills that channel and release (Scourge Arrow, Divine Ire, Flameblast, Incinerate and Snipe) [\#6245](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6245) ([LocalIdentity](https://github.com/LocalIdentity))
- Add proper support for triggered skills with Snipe Support [\#6248](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6248) ([LocalIdentity](https://github.com/LocalIdentity))
- Add support for Flamethrower Trap DPS [\#6307](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6307) ([Lilylicious](https://github.com/Lilylicious))
- Fix weighted average DPS calculation of Ignite/Bleed [\#6321](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6321) ([LocalIdentity](https://github.com/LocalIdentity))
- Show min/max DPS range for Ignite/Bleed/Poison [\#6321](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6321) ([LocalIdentity](https://github.com/LocalIdentity))
- Add support for cooldown on skills in Black Zenith gloves [\#6247](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6247) ([LocalIdentity](https://github.com/LocalIdentity))
- Add support for Crucible min stages and Cooldown mods with Incinerate/Flameblast [\#6246](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6246) ([LocalIdentity](https://github.com/LocalIdentity))
- Add support for changing Tree Version [\#6312](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6312) ([Peechey](https://github.com/Peechey))
- Add clear button to text inputs [\#6282](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6282) ([TPlant](https://github.com/PJacek))
### Implemented Enhancements
- Remove Minimum Ignite Duration [\#6326](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6326) ([LocalIdentity](https://github.com/LocalIdentity))
- Imply recent Minion skill use only when using non-permanent Minions [\#6309](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6309) ([Lilylicious](https://github.com/Lilylicious))
- Improve PvP breakdowns [\#6276](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6276) ([Regisle](https://github.com/Regisle))
- Only apply Combustion Fire Resistance effect with skills that can Ignite [\#6320](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6320) ([Lilylicious](https://github.com/Lilylicious))
- Add parsing for Redeemer 'Freeze as though Dealing more Damage' mod [\#6198](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6198) ([fira](https://github.com/fira))
### Fixed Crashes
- Fix crash on 100% reduced reservation efficiency for Relic of the Pact [\#6303](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6303) ([Lilylicious](https://github.com/Lilylicious))
- Fix crash on unusable weapon swap [\#6300](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6300) ([Lilylicious](https://github.com/Lilylicious))
- Fix crash sometimes occurring when searching for Timeless Jewel [\#6242](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6242) ([Regisle](https://github.com/Regisle))
- Fix crash when hovering over life mastery mod [\#6252](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6252) ([Paliak](https://github.com/Paliak))
### User Interface
- Add a warning when exceeding jewel limits [\#6308](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6308) ([Lilylicious](https://github.com/Lilylicious))
- Make build search immediate [\#6283](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6283) ([TPlant](https://github.com/PJacek))
- Add Ctrl-M to the tree drop-down to open 'Manage Trees' dialog [\#6269](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6269) ([pHiney](https://github.com/pHiney))
- Force skill groups to display as active based on main skill [\#6317](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6317) ([Lilylicious](https://github.com/Lilylicious))
- Fix division by zero display error in resource recovery calculations [\#6264](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6264) ([TPlant](https://github.com/PJacek))
- Add Help documentation for Items tab [\#6223](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6223) ([karlji](https://github.com/karlji))
- Add name to top left Timeless Jewel socket [\#6225](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6225) ([karlji](https://github.com/karlji))
### Accuracy Improvements
- Fix Explosive Arrow Full DPS [\#5432](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/5432) ([AnSq](https://github.com/AnSq))
- Fix Explosive Arrow stages scaling base damage effectiveness [\#6302](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6302) ([Lilylicious](https://github.com/Lilylicious))
- Fix Flameblast not gaining 'more' damage from first stage [\#6261](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6261) ([LocalIdentity](https://github.com/LocalIdentity))
- Fix Supreme Ego taking effect with Blood Magic [\#6199](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6199) ([mortentc](https://github.com/mortentc))
- Fix Lancing Steel hit rate calculations [\#6310](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6310) ([Lilylicious](https://github.com/Lilylicious))
- Fix default Uber boss Evasion Rating [\#6270](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6270) ([ghember](https://github.com/ghember))
- Fix defences on normal and magic Two-Toned Boots [\#6230](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6230) ([Peechey](https://github.com/Peechey))
- Fix Matua Tupuna's aura mod not affecting minions [\#6315](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6315) ([Paliak](https://github.com/Paliak))
- Fix Battlemage's Cry and Redblade Banner not working correctly [\#6301](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6301) ([Lilylicious](https://github.com/Lilylicious))
- Fix multiple instances of 'x stat is increased by overcapped y resistance' stacking [\#6299](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6299) ([Lilylicious](https://github.com/Lilylicious))
- Fix Shock Nova's 'max effect of shock' not benefiting other skills [\#6295](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6295) ([Lilylicious](https://github.com/Lilylicious))
- Fix Adjacent Animosity to work with both Attacks and Spells [\#6266](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6266) ([deathbeam](https://github.com/deathbeam))
- Fix Crucible AoE mod from applying to any skill [\#6251](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6251) ([Paliak](https://github.com/Paliak))
- Fix Energy Shield Stun avoidance if EB allocated [\#6249](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6249) ([Paliak](https://github.com/Paliak))
- Fix Spellslinger Reservation incorrectly scaling with stages [\#6286](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6286) ([mortentc](https://github.com/mortentc))
- Fix Infernal Legion ignoring support gem damage modifiers [\#6322](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6322) ([Paliak](https://github.com/Paliak))
- Fix anointed nodes doubling stats when inside radius Jewels [\#6278](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6278) ([Paliak](https://github.com/Paliak))
- Fix Life Mastery not working correctly with Skin of the Loyal [\#6291](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6291) ([Paliak](https://github.com/Paliak))
- Fix Chain count not appearing on Calcs page [\#6205](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6205) ([LocalIdentity](https://github.com/LocalIdentity))
### Fixed Bugs
- Fix sorting of taken damage values when using the power report [\#6306](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6306) ([QuickStick123](https://github.com/QuickStick123))
- Fix resistance penalty not saving [\#6292](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6292) ([Paliak](https://github.com/Paliak))
- Fix import of Forbidden Flesh/Flame when you did not match the class of the jewel [\#6293](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6293) ([Paliak](https://github.com/Paliak))
- Fix incorrect keystone source on keystones coming from items [\#6257](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6257) ([Paliak](https://github.com/Paliak))
### Other changes
- Improve load time when opening PoB [\#6224](https://github.com/PathOfBuildingCommunity/PathOfBuilding/pull/6224) ([Lancej](https://github.com/Lancej))


## [v2.30.1](https://github.com/PathOfBuildingCommunity/PathOfBuilding/tree/v2.30.1) (2023/05/05)

[Full Changelog](https://github.com/PathOfBuildingCommunity/PathOfBuilding/compare/v2.30.0...v2.30.1)
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Note: For this tutorial, you will need a working installation of [Visual Studio
as well as some familiarity with build tools such as [CMake](https://cmake.org).
1. In Visual Studio, clone the following repository using this command:

git clone -b master https://github.com/zao/ooz
git clone --recurse-submodules -b master https://github.com/zao/ooz
2. Configure CMake.
3. Build `bun_extract_file.exe`, `libbun.dll` and `libooz.dll`.

Expand Down
67 changes: 67 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,70 @@
VERSION[2.31.0][2023/08/15]

--- New to Path of Building ---
* Add 3.22 Skill tree (Regisle)
* Add proper support for DPS with Scourge Arrow, Divine Ire, Flameblast and Incinerate (LocalIdentity)
* Display Channel time for skills that channel and release (Scourge Arrow, Divine Ire, Flameblast, Incinerate and Snipe) (LocalIdentity)
* Add proper support for triggered skills with Snipe Support (LocalIdentity)
* Add support for Flamethrower Trap DPS (Lilylicious)
* Fix weighted average DPS calculation of Ignite/Bleed (LocalIdentity)
* Show min/max DPS range for Ignite/Bleed/Poison (LocalIdentity)
* Add support for cooldown on skills in Black Zenith gloves (LocalIdentity)
* Add support for Crucible min stages and Cooldown mods with Incinerate/Flameblast (LocalIdentity)
* Add support for changing Tree Version (Peechey)
* Add clear button to text inputs (TPlant)

--- Implemented Enhancements ---
* Remove Minimum Ignite Duration (LocalIdentity)
* Imply recent Minion skill use only when using non-permanent Minions (Lilylicious)
* Improve PvP breakdowns (Regisle)
* Only apply Combustion Fire Resistance effect with skills that can Ignite (Lilylicious)
* Add parsing for Redeemer 'Freeze as though Dealing more Damage' mod (fira)

--- Fixed Crashes ---
* Fix crash on 100% reduced reservation efficiency for Relic of the Pact (Lilylicious)
* Fix crash on unusable weapon swap (Lilylicious)
* Fix crash sometimes occurring when searching for Timeless Jewel (Regisle)
* Fix crash when hovering over life mastery mod (Paliak)

--- User Interface ---
* Add a warning when exceeding jewel limits (Lilylicious)
* Make build search immediate (TPlant)
* Add Ctrl-M to the tree drop-down to open 'Manage Trees' dialog (pHiney)
* Force skill groups to display as active based on main skill (Lilylicious)
* Fix division by zero display error in resource recovery calculations (TPlant)
* Add Help documentation for Items tab (karlji)
* Add name to top left Timeless Jewel socket (karlji)

--- Accuracy Improvements ---
* Fix Explosive Arrow Full DPS (AnSq)
* Fix Explosive Arrow stages scaling base damage effectiveness (Lilylicious)
* Fix Flameblast not gaining 'more' damage from first stage (LocalIdentity)
* Fix Supreme Ego taking effect with Blood Magic (mortentc)
* Fix Lancing Steel hit rate calculations (Lilylicious)
* Fix default Uber boss Evasion Rating (ghember)
* Fix defences on normal and magic Two-Toned Boots (Peechey)
* Fix Matua Tupuna's aura mod not affecting minions (Paliak)
* Fix Battlemage's Cry and Redblade Banner not working correctly (Lilylicious)
* Fix multiple instances of 'x stat is increased by overcapped y resistance' stacking (Lilylicious)
* Fix Shock Nova's 'max effect of shock' not benefiting other skills (Lilylicious)
* Fix Adjacent Animosity to work with both Attacks and Spells (deathbeam)
* Fix Crucible AoE mod from applying to any skill (Paliak)
* Fix Energy Shield Stun avoidance if EB allocated (Paliak)
* Fix Spellslinger Reservation incorrectly scaling with stages (mortentc)
* Fix Infernal Legion ignoring support gem damage modifiers (Paliak)
* Fix anointed nodes doubling stats when inside radius Jewels (Paliak)
* Fix Life Mastery not working correctly with Skin of the Loyal (Paliak)
* Fix Chain count not appearing on Calcs page (LocalIdentity)

--- Fixed Bugs ---
* Fix sorting of taken damage values when using the power report (QuickStick123)
* Fix resistance penalty not saving (Paliak)
* Fix import of Forbidden Flesh/Flame when you did not match the class of the jewel (Paliak)
* Fix incorrect keystone source on keystones coming from items (Paliak)

--- Other changes ---
* Improve load time when opening PoB (Lancej)

VERSION[2.30.1][2023/05/06]

--- Fixed Bugs ---
Expand Down
17 changes: 15 additions & 2 deletions help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ This file contains a list of shortcuts, and other misc things PoB has
4. Hotkeys
5. Other Notable Things
6. Timeless Jewels
7. PartyTab
7. Party Tab
8. Items Tab

---[FAQ][3]

Expand All @@ -29,6 +30,7 @@ Ctrl + I Jump to import tab
Ctrl + A Select all
Ctrl + C Copy
Ctrl + F Show find / search box (e.g. unique item / tree)
Ctrl + M Manage Trees (Tree tab only)
Ctrl + N New build (in build selection menu)
Ctrl + S Save build to file
Ctrl + U Check for update
Expand Down Expand Up @@ -131,4 +133,15 @@ Auras with the highest effect will take priority
Your curses will take priority over a support's

For now Enemy conditions and Modifiers are not exported but can be imported if its saved in the XML, and Links skills are not exported or parsed
Some auras like Mines which use a stack value for their effect will not apply as their stack value is missing
Some auras like Mines which use a stack value for their effect will not apply as their stack value is missing

---[Items Tab][8]

The Item Tab in Path of Building allows you to plan out the gear you will use for your character. To access the Item Tab, click on the "Items" tab located at the top of the screen.

From here, you can view all of the gear slots for your character, such as your weapon, chest armor, and boots. To add an item to a slot, click on the arrow button on the right side of the slot. This will bring up a list of all the items available in your build, which are visible in the "All items" window.
If you wish to add more items, you can copy and paste items using CTRL+C (from the game or trade website) and CTRL+V into the "Shared items" window. Additionally, you can craft items using the "Craft item..." button on the top or create completely customizable items using the "Create custom..." option.

The item sets section located at the top of the screen can be used to save multiple sets of items and easily switch between them. You can add, remove, rename, and copy new sets using the "Manage..." button.

If you want to search for item upgrades, you can use the "Trade for these items" button to quickly search for items that can improve your gear.
15 changes: 10 additions & 5 deletions src/Classes/EditControl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ local function newlineCount(str)
end
end

local EditClass = newClass("EditControl", "ControlHost", "Control", "UndoHandler", "TooltipHost", function(self, anchor, x, y, width, height, init, prompt, filter, limit, changeFunc, lineHeight, allowZoom)
local EditClass = newClass("EditControl", "ControlHost", "Control", "UndoHandler", "TooltipHost", function(self, anchor, x, y, width, height, init, prompt, filter, limit, changeFunc, lineHeight, allowZoom, clearable)
self.ControlHost()
self.Control(anchor, x, y, width, height)
self.UndoHandler()
Expand All @@ -56,19 +56,24 @@ local EditClass = newClass("EditControl", "ControlHost", "Control", "UndoHandler
self.selBGCol = "^xBBBBBB"
self.blinkStart = GetTime()
self.allowZoom = allowZoom
local function buttonSize()
local _, height = self:GetSize()
return height - 4
end
if self.filter == "%D" or self.filter == "^%-%d" then
-- Add +/- buttons for integer number edits
self.isNumeric = true
local function buttonSize()
local width, height = self:GetSize()
return height - 4
end
self.controls.buttonDown = new("ButtonControl", {"RIGHT",self,"RIGHT"}, -2, 0, buttonSize, buttonSize, "-", function()
self:OnKeyUp("DOWN")
end)
self.controls.buttonUp = new("ButtonControl", {"RIGHT",self.controls.buttonDown,"LEFT"}, -1, 0, buttonSize, buttonSize, "+", function()
self:OnKeyUp("UP")
end)
elseif clearable then
self.controls.buttonClear = new("ButtonControl", {"RIGHT",self,"RIGHT"}, -2, 0, buttonSize, buttonSize, "x", function()
self:SetText("", true)
end)
self.controls.buttonClear.shown = function() return #self.buf > 0 and self:IsMouseInBounds() end
end
self.controls.scrollBarH = new("ScrollBarControl", {"BOTTOMLEFT",self,"BOTTOMLEFT"}, 1, -1, 0, 14, 60, "HORIZONTAL", true)
self.controls.scrollBarH.width = function()
Expand Down
4 changes: 2 additions & 2 deletions src/Classes/ImportTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ local ImportTabClass = newClass("ImportTab", "ControlHost", "Control", function(
end
self.controls.accountRealm = new("DropDownControl", {"TOPLEFT",self.controls.accountNameHeader,"BOTTOMLEFT"}, 0, 4, 60, 20, realmList )
self.controls.accountRealm:SelByValue( main.lastRealm or "PC", "id" )
self.controls.accountName = new("EditControl", {"LEFT",self.controls.accountRealm,"RIGHT"}, 8, 0, 200, 20, main.lastAccountName or "", nil, "%c")
self.controls.accountName = new("EditControl", {"LEFT",self.controls.accountRealm,"RIGHT"}, 8, 0, 200, 20, main.lastAccountName or "", nil, "%c", nil, nil, nil, nil, true)
self.controls.accountName.pasteFilter = function(text)
return text:gsub("[\128-\255]",function(c)
return codePointToUTF8(c:byte(1)):gsub(".",function(c)
Expand Down Expand Up @@ -292,7 +292,7 @@ You can get this from your web browser's cookies while logged into the Path of E
end
end

self.controls.importCodeIn = new("EditControl", {"TOPLEFT",self.controls.importCodeHeader,"BOTTOMLEFT"}, 0, 4, 328, 20, "", nil, nil, nil, importCodeHandle)
self.controls.importCodeIn = new("EditControl", {"TOPLEFT",self.controls.importCodeHeader,"BOTTOMLEFT"}, 0, 4, 328, 20, "", nil, nil, nil, importCodeHandle, nil, nil, true)
self.controls.importCodeIn.enterFunc = function()
if self.importCodeValid then
self.controls.importCodeGo.onClick()
Expand Down
Loading

0 comments on commit 9b21024

Please sign in to comment.