0
0
mirror of https://github.com/ok-oldking/ok-wuthering-waves.git synced 2025-06-03 09:25:19 +00:00

修复某些boss无法传送

This commit is contained in:
firedcto@gmail.com 2024-11-14 15:00:03 +08:00
parent c50405a54b
commit 1653d86c92

View File

@ -377,7 +377,7 @@ class BaseWWTask(BaseTask, FindFeature, OCR):
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,