Skip to content

Fix 2H weapons not removing off-hand items in comparisons - #2368

Merged
LocalIdentity merged 2 commits into
PathOfBuildingCommunity:devfrom
vaisest:2h-compare-fix
Aug 30, 2026
Merged

Fix 2H weapons not removing off-hand items in comparisons#2368
LocalIdentity merged 2 commits into
PathOfBuildingCommunity:devfrom
vaisest:2h-compare-fix

Conversation

@vaisest

@vaisest vaisest commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Fixes #2252.

Description of the problem being solved:

The calculator repItem functionality was allowing many off-hand items to be used with 2H weapons. This fixes that, adds test for it, and allows for custom mods to affect the related code.

Steps taken to verify a working solution:

  • Tests added

Link to a build that showcases this PR:

N/A

Before screenshot:

image

After screenshot:

image

@LocalIdentity LocalIdentity added the bug: behaviour Behavioral differences label Aug 30, 2026
When you had Giant's Blood and compared a two hand mace vs a bow and quiver it wasn't showing the effect of removing the quiver
Update the tests for the new format
@LocalIdentity
LocalIdentity merged commit 5c7ce7f into PathOfBuildingCommunity:dev Aug 30, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: behaviour Behavioral differences

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pasting an "Item" improperly calculates DIFF using Weapon 2, while the pasted item is a 2h weapon

2 participants