mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-27 03:48:21 +08:00
Fix: Sorting retirement by emotion but it's never scanned
This commit is contained in:
@@ -309,8 +309,8 @@ class Retirement(Enhancement, QuickRetireSettingHandler):
|
|||||||
if len(ships) < 2:
|
if len(ships) < 2:
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
# Try to keep the one with the highest emotion
|
# Try to keep the one with the lowest level
|
||||||
ships.sort(key=lambda ship: ship.emotion)
|
ships.sort(key=lambda ship: -ship.level)
|
||||||
ships = ships[:-1]
|
ships = ships[:-1]
|
||||||
|
|
||||||
for ship in ships[:10]:
|
for ship in ships[:10]:
|
||||||
|
|||||||
Reference in New Issue
Block a user