1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-24 16:49:59 +08:00
Files
AzurLaneAutoScript/module
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
..
2026-01-31 03:25:17 +08:00
2026-02-09 23:31:47 +08:00
2026-02-09 23:31:47 +08:00
2025-10-24 01:19:16 +08:00
2026-02-09 23:31:47 +08:00
2025-02-07 01:09:24 +08:00
2025-12-12 19:22:49 +08:00
2025-10-22 01:09:45 +08:00
2025-11-04 14:01:43 +08:00
2025-03-10 23:02:16 +08:00
2025-12-20 19:10:39 +08:00
2022-08-22 13:42:05 +08:00