Skip to content

Commit

Permalink
支持刷罗莱蕾
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Jan 11, 2025
1 parent 1389fcf commit aec6d01
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Binary file modified i18n/zh_CN/LC_MESSAGES/ok.mo
Binary file not shown.
3 changes: 3 additions & 0 deletions i18n/zh_CN/LC_MESSAGES/ok.po
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ msgstr "半自动肉鸽(深坠异想奇境)"
msgid "Fallacy of No Return"
msgstr "无归的谬误"

msgid "Lorelei"
msgstr "罗莱蕾"

msgid "click f2 to open the book"
msgstr "点击F2打开书"

Expand Down
10 changes: 5 additions & 5 deletions src/task/FarmWorldBossTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.description = "Click Start in Game World"
self.name = "Farm World Boss(Must Drop a WayPoint on the Boss First)"
self.boss_names = ['N/A','Sentry Construct','Dragon of Dirge','Nightmare: Feilian Beringal',
self.boss_names = ['N/A', 'Lorelei', 'Sentry Construct','Dragon of Dirge','Nightmare: Feilian Beringal',
'Nightmare: Impermanence Heron','Nightmare: Thundering Mephis',
'Nightmare: Tempest Mephis', 'Nightmare: Crownless',
'Nightmare: Inferno Rider','Nightmare: Mourning Aix','Bell-Borne Geochelone', 'Crownless', 'Thundering Mephis', 'Tempest Mephis',
'Inferno Rider',
'Feilian Beringal',
'Mourning Aix', 'Impermanence Heron', 'Lampylumen Myriad', 'Mech Abomination',
'Fallacy of No Return', 'Lorelei'
'Fallacy of No Return'
]

self.find_echo_method = ['Walk', 'Run in Circle', 'Turn Around and Search']
Expand Down Expand Up @@ -82,7 +82,7 @@ def run(self):
self.sleep(15)
elif boss_name == 'Lorelei':
if count % 6 < 3:
self.change_time()
self.change_time_to_night()
self.middle_click_relative(0.5, 0.5)
self.sleep(0.4)
self.run_until(self.in_combat, 'w', time_out=10, running=True)
Expand Down Expand Up @@ -113,8 +113,8 @@ def run(self):
self.log_error('Must choose at least 3 Boss to Farm', notify=True)
return

def change_time(self):
logger.info(f'change time to night')
def change_time_to_night(self):
logger.info('change time to night')
self.send_key("esc")
self.sleep(1)
self.click_relative(0.71,0.96)
Expand Down

0 comments on commit aec6d01

Please sign in to comment.