Skip to content

Fix level requirements on staves, wands, and jewellery and unique items#2323

Merged
LocalIdentity merged 8 commits into
PathOfBuildingCommunity:devfrom
Blitz54:level-reqs
Jul 10, 2026
Merged

Fix level requirements on staves, wands, and jewellery and unique items#2323
LocalIdentity merged 8 commits into
PathOfBuildingCommunity:devfrom
Blitz54:level-reqs

Conversation

@Blitz54

@Blitz54 Blitz54 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

0.5.4 changed granted skills, so that the item does not require level or attributes for the granted skill. The requirements are either from the base item, or specifically for the unique (Sylvan's Effigy level 62 on a Stoic Sceptre which is level 6).

  • Advanced copy paste format is different from poe1, so some changes were made to parse the "Level Requirement". Int, Str, and Dex are obtained from the base item and calculated through mods later, so those have been stripped.
  • Jewellery level req works like before I broke it. It uses the modLine Level, and scales that by 0.8 for the level req.
  • Import isn't 100%. I left a comment where things should be fixed at some point. But it's a little involved atm.
  • Wands, sceptres, and staves have a base level req for crafting now.

@Blitz54 Blitz54 changed the title Fix level requirements on staves, wands, and jewelry Fix level requirements on staves, wands, and jewellery Jun 29, 2026
LocalIdentity added 6 commits July 8, 2026 18:48
The unique export now has a number of fixes and additions
It now inherits the implicit mods from a item base and include skill mods in the implicit count without having to specifically state it
It correctly orders implicit mods now which was not done before
Bases that grant skills now use the correct level range
e.g Raise Shield now doesn't show the level range of 1-20
Belt bases now have the correct implicit mods and exclude the charm mod if the base already grants it
Level requirements for gear now only print the value if it exceeds the base type
Many uniques have had their unique mod IDs updated to use the correct ones so the required level is correct
Uniques not grab their base level from the unique in the db so that if they are modified by runes they can fall back to the correct level if the rune is removed
Fixed the level requirement for Runic Fork as it wasn't being exported as it didn't have a skill
Fix the export of uniques with legacy implicits not having the correct Implicit count
Fix Wondertrap export typo
Clean up uModsToText script
Adds tests for new scenarios
@LocalIdentity LocalIdentity changed the title Fix level requirements on staves, wands, and jewellery Fix level requirements on staves, wands, and jewellery and unique items Jul 10, 2026
@LocalIdentity LocalIdentity added the bug: behaviour Behavioral differences label Jul 10, 2026

@LocalIdentity LocalIdentity left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need to update that code once we move to using mod IDs as it will simplify all this a bunch

@LocalIdentity LocalIdentity merged commit f532296 into PathOfBuildingCommunity:dev Jul 10, 2026
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.

2 participants