@@ -131,28 +131,6 @@ def wait_hint(self, x1, y1, x2, y2, hint, timeout=2):
131131 self .sleep (0.2 )
132132 return True
133133 return False
134-
135- def reset_and_transport (self ):
136- self .open_in_mission_menu ()
137- self .sleep (0.8 )
138- self .wait_until (lambda : self .find_next_hint (0.05 , 0.01 , 0.09 , 0.05 , r'设置' ),
139- post_action = self .click (0.73 , 0.92 , after_sleep = 0.5 ),
140- time_out = 2 )
141- self .wait_until (lambda : self .find_next_hint (0.06 , 0.29 , 0.12 , 0.33 , r'重置位置' ),
142- post_action = self .click (0.35 , 0.03 , after_sleep = 0.5 ),
143- time_out = 2 )
144- self .wait_until (lambda : self .find_next_hint (0.57 , 0.54 , 0.62 , 0.58 , r'确定' ),
145- post_action = lambda : (
146- self .move_mouse_to_safe_position (),
147- self .click (0.60 , 0.32 ),
148- self .move_back_from_safe_position (),
149- self .sleep (1 )
150- ),
151- time_out = 4 )
152- self .wait_until (self .in_team ,
153- post_action = self .click (0.59 , 0.56 , after_sleep = 0.5 ),
154- time_out = 2 )
155-
156134
157135 def walk_to_aim (self ):
158136 if self .find_next_hint (0.18 ,0.52 ,0.23 ,0.55 ,r'保护目标' ):
0 commit comments