Richard Köhl vor 1 Jahr
Ursprung
Commit
8983389300
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      screenshot.py

+ 3 - 3
screenshot.py

@@ -19,8 +19,8 @@ end_of_log = cv2.imread('templates/end_of_log.jpg')
 end_of_log2 = cv2.imread('templates/end_of_log2.jpg')
 
 # cursor positions
-fight_scroll_top = "2494 626"
-fight_scroll_bottom = "2200 1520"
+fight_scroll_top = "2200 626"
+fight_scroll_bottom = "2200 1500"
 titan_fight = "1400 860"
 damage_taken = "450 850"
 close_details = "2175 450"
@@ -193,6 +193,7 @@ def take_fight_screenshots():
   tap(damage_taken)
   save_screenshot()
   tap_button(close_fight)
+  time.sleep(1)
 
 def process_war_log():
   buttons = find_templates(fight_button)
@@ -213,7 +214,6 @@ def process_war_log():
           take_fight_screenshots()
         tap_button(close_sub_fights)
 
-  find_max_y_pair(buttons)
   swipe(find_max_y_pair(buttons), fight_scroll_top)
 
 # start