Skip to content

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

Open
vaisest wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
vaisest:2h-compare-fix
Open

Fix 2H weapons not removing off-hand items in comparisons#2368
vaisest wants to merge 1 commit 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

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

1 participant