1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 17:29:04 +08:00
AzurLaneAutoScript/module/storage
gepotumu a538739910
Fix: infinite loop in _handle_use_box_amount when box count insufficient (#5516)
When requesting more boxes than available (e.g. requesting 8 but only 3
in stack), the amount-setting loop would never exit because the UI caps
at the available count while the script keeps clicking AMOUNT_PLUS.

Added click_count tracking: if multi_click() has been called 2 times
without the amount reaching the target, treat it as the UI cap and break.
Also changed the return value from bool to the actual amount set, so
_storage_use_one_box tracks the correct number of boxes used.
2026-02-19 02:19:08 +08:00
..
assets.py Upd:[tw] research E (#5382) 2025-12-12 19:22:49 +08:00
storage.py Fix: infinite loop in _handle_use_box_amount when box count insufficient (#5516) 2026-02-19 02:19:08 +08:00
ui.py Fix: Handle slow get items popup after disassemble (#5015) 2025-08-15 19:32:27 +08:00