Repository navigation
Conversation
Importing an item whose implicit spans two lines can classify the following explicit modifier as implicit. API imports count both raw text lines, but the parser combines them into one entry without reducing the count. Account for consumed implicit continuations and normalize the saved text to its logical count so subsequent parses preserve modifier sections.
Keep the implicit continuation regression alongside the Viscera clipboard regression. Preserve the original fix and the saved-item count convention.
mcagnion
marked this pull request as ready for review
November 24, 2026 19:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the problem being solved:
Importing an item with an enchantment or implicit split across two lines can move the following explicit modifier into the implicit section. The importer counts both text lines, but the item parser can combine them into one modifier without adjusting that count.
Preserve the section boundary while combining imported lines, then save the item with the combined modifier count so reloading or cloning it keeps the same sections. Descriptions containing independent effects retain those effects separately.
Steps taken to verify a working solution:
Build showing the problem
The Doom Trail boots in Basedard's Ethereal Knives Trickster show three implicits instead of two. The extra line is the +12% chance to Suppress Spell Damage suffix. Build code for PoB · Gear preview on PoB Archives
Before screenshot:
After screenshot:
Risks/notes
Existing saved exports keep their interpretation. Their implicit count can refer to either text lines or combined modifiers.