Skip to content

Commit

Permalink
支持赫卡忒(必须先开剧情)
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Jan 3, 2025
1 parent 85680ac commit 53a1484
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/task/FarmEchoTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, *args, **kwargs):
self.config_description = {
'Level': '(1-6) Important, Choose which level to farm, lower levels might not produce a echo'
}
self.config_type["Boss"] = {'type': "drop_down", 'options': ['Dreamless', 'Jue']}
self.config_type["Boss"] = {'type': "drop_down", 'options': ['Hecate', 'Dreamless', 'Jue']}

self.icon = FluentIcon.ALBUM

Expand Down Expand Up @@ -50,9 +50,9 @@ def run(self):

self.combat_once()
logger.info(f'farm echo move {self.config.get("Boss")} walk_until_f to find echo')
if self.config.get('Boss') == 'Dreamless':
dropped = self.walk_find_echo(1)
logger.debug(f'farm echo found echo move forward walk_until_f to find echo')
if self.config.get('Boss') != 'Jue':
dropped = self.turn_and_find_echo()
logger.debug(f'farm echo turn_and_find_echo')
else:
self.sleep(2)
dropped = self.run_in_circle_to_find_echo(3)
Expand Down

0 comments on commit 53a1484

Please sign in to comment.