mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Commission order while choosing shortest commissions
This commit is contained in:
parent
54a4d568e6
commit
ca1e48cb77
@ -139,7 +139,8 @@ class RewardCommission(UI, InfoHandler):
|
||||
if no_shortest.count < run.count:
|
||||
logger.info('Not enough commissions to run, add shortest daily commissions')
|
||||
COMMISSION_FILTER.load(SHORTEST_FILTER)
|
||||
shortest = COMMISSION_FILTER.apply(daily, func=self._commission_check)
|
||||
shortest = COMMISSION_FILTER.apply(daily[::-1], func=self._commission_check)
|
||||
# Reverse the daily list to choose better commissions
|
||||
run = no_shortest.add_by_eq(SelectedGrids(shortest))
|
||||
logger.attr('Filter_sort', ' > '.join([str(c) for c in run]))
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user