Skip to content

Commit

Permalink
修复某些boss无法传送
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Nov 14, 2024
1 parent c50405a commit 1653d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/task/BaseWWTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def teleport_to_boss(self, boss_name):
self.wait_in_team_and_world(time_out=120)

def click_traval_button(self):
if self.find_one(['fast_travel_custom', 'remove_custom'], threshold=0.6):
if self.find_one(['fast_travel_custom', 'remove_custom', 'gray_teleport'], threshold=0.6):
self.click_relative(0.91, 0.92, after_sleep=1)
if self.wait_click_feature(['confirm_btn_hcenter_vcenter', 'confirm_btn_highlight_hcenter_vcenter'],
relative_x=-1, raise_if_not_found=True,
Expand Down

0 comments on commit 1653d86

Please sign in to comment.