@@ -153,7 +153,7 @@ def shopping(self):
153
153
def arena (self ):
154
154
self .info_set ('current_task' , 'arena' )
155
155
self .wait_click_ocr (match = re .compile ('战役推进' ), box = 'top_right' , after_sleep = 1 , raise_if_not_found = True )
156
- self .wait_ocr (match = re .compile ('战役推进 ' ), box = 'top_right' , raise_if_not_found = True )
156
+ self .wait_ocr (match = re .compile ('补给作战 ' ), box = 'top_right' , raise_if_not_found = True )
157
157
self .sleep (1 )
158
158
self .click_relative (0.89 , 0.05 ) # 模拟战斗
159
159
self .wait_click_ocr (match = ['实兵演习' ], box = 'bottom' , after_sleep = 0.5 , raise_if_not_found = True )
@@ -175,7 +175,7 @@ def arena(self):
175
175
def bingqi (self ):
176
176
self .info_set ('current_task' , 'bingqi' )
177
177
self .wait_click_ocr (match = re .compile ('战役推进' ), box = 'top_right' , after_sleep = 1 , raise_if_not_found = True )
178
- self .wait_ocr (match = re .compile ('战役推进 ' ), box = 'top_right' , raise_if_not_found = True )
178
+ self .wait_ocr (match = re .compile ('补给作战 ' ), box = 'top_right' , raise_if_not_found = True )
179
179
self .sleep (1 )
180
180
self .click_relative (0.90 , 0.05 , after_sleep = 0.95 ) # 补给
181
181
self .click_relative (0.98 , 0.49 , after_sleep = 0.52 )
@@ -353,7 +353,7 @@ def challenge_arena_opponent(self):
353
353
def battle (self ):
354
354
self .info_set ('current_task' , 'battle' )
355
355
self .wait_click_ocr (match = re .compile ('战役推进' ), box = 'top_right' , after_sleep = 0.5 , raise_if_not_found = True )
356
- self .wait_ocr (match = re .compile ('战役推进 ' ), box = 'top_right' , raise_if_not_found = True )
356
+ self .wait_ocr (match = re .compile ('补给作战 ' ), box = 'top_right' , raise_if_not_found = True )
357
357
self .click_relative (0.78 , 0.05 )
358
358
if self .is_adb ():
359
359
self .swipe_relative (0.8 , 0.6 , 0.5 , 0.6 , duration = 1 )
0 commit comments