Repository navigation
Add Quanah: event-equipment set solver with tooltip scanning - #10
Merged
Merged
Conversation
Players farm Libae's Supercharged event pieces (hat, top, bottom, cape, gloves, shoes), each rolling 1-3 "+1" skill lines, and need the one-per-slot set that fills a build's 18 lines. Entering dozens of pieces by hand is the bottleneck, so the scanner reads them from hovered tooltips. - A pinned Quanah tile in the roster opens a character-agnostic page: pick a class, scan or add pieces by hand, edit or delete them, and see the best set for the Skill, GanDi, EU or Custom (max 18 points) build. - The solver ports the community 3L/GanDi/EU solvers' DP and also lists "one drop finishes it" options. - Scanning watches the game until stopped and captures every new tooltip, in the inventory (picking the hovered tooltip over the equipped comparison) or the Equipment window. Reads run in the background queue; the name is read first, so other items are skipped after one row, and stat rows stop at Scroll Enhancement. Wrapped lines, "Skill Level" job lines, a cursor over the name and tooltips clipped at the screen's edge are handled. - Pieces for another class are flagged and left out; identical pieces are flagged as duplicates. Saved scans are re-matched when the catalog improves. - equipment_scan gains tooltip_bottom, row_crop and an optional split in row_regions; item_tooltip gains level_anchors. Existing callers behave as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CI's Lint step failed on two I001 errors: an extra blank line inside _save_quanah_piece's imports, and an equipment_scan import in quanah/vision.py longer than the 110-character limit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Players farm Libae's Supercharged event pieces (hat, top, bottom, cape, gloves, shoes). Each piece rolls 1–3 "+1" skill lines, and players need the one-per-slot set that fills their build's 18 lines. Entering dozens of pieces by hand is the bottleneck, so this adds a Quanah page that scans them from hovered tooltips.
logs/quanah-failed/for diagnosis.equipment_scangainstooltip_bottomandrow_crop, androw_regionsgains an optionalsplit.item_tooltipgainslevel_anchors.Test plan
pytest: solver against the three sites, store/API, and the reader on 8 real tooltip fixtures (hovered, equipped, bottom-clipped, a wrapped line, a one-line piece, a shoulder, a medal).node --test tests/js/*.test.cjs🤖 Generated with Claude Code