1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-27 06:08:22 +08:00

Fix: Sorting retirement by emotion but it's never scanned

This commit is contained in:
LmeSzinc
2022-11-11 03:11:19 +08:00
parent 8e82984775
commit 76cfd36479

View File

@@ -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]: