Skip to content

Commit

Permalink
Opt: choose the highest emotion vanguard ship
Browse files Browse the repository at this point in the history
  • Loading branch information
Air111 committed Apr 17, 2024
1 parent df4e641 commit cf0008e
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions module/campaign/gems_farming.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,19 +318,12 @@ def get_common_rarity_dd(self):
else:
max_level = 70

scanner = ShipScanner(level=(max_level, max_level), emotion=(10, 150),
fleet=self.config.Fleet_Fleet1, status='free')
scanner = ShipScanner(level=(max_level, max_level), emotion=(10, 150), status='free')
scanner.disable('rarity')
scanner.disable('fleet')

self.dock_sort_method_dsc_set()

ships = scanner.scan(self.device.image)
if ships:
# Don't need to change current
return ships

scanner.set_limitation(fleet=0)

candidates = self.find_candidates(self.get_templates(self.config.GemsFarming_CommonDD), scanner)

if candidates:
Expand Down

0 comments on commit cf0008e

Please sign in to comment.