Neccor 4 lat temu
rodzic
commit
407e7893ef
1 zmienionych plików z 8 dodań i 8 usunięć
  1. 8
    8
      main.py

+ 8
- 8
main.py Wyświetl plik

135
 	while True:
135
 	while True:
136
 		time.sleep(1)
136
 		time.sleep(1)
137
 
137
 
138
-		while v_continue == False or v_ready == False:
138
+		while win_rounds >= 31:
139
 			time.sleep(1)
139
 			time.sleep(1)
140
 			pyautogui.screenshot("screenshot.png")
140
 			pyautogui.screenshot("screenshot.png")
141
 			f_continue = find_image("continue.png")
141
 			f_continue = find_image("continue.png")
151
 				time.sleep(1)
151
 				time.sleep(1)
152
 
152
 
153
 
153
 
154
-# Siege
155
-win_rounds = 0
156
-while win_rounds >= 30:
157
-	win_loop(win_rounds)
158
-
159
 # Niederlage
154
 # Niederlage
160
 loose_rounds = 0
155
 loose_rounds = 0
161
-while loose_rounds >= 30:
162
-	loose_loop(loose_rounds)
156
+while loose_rounds <= 30:
157
+	loose_loop(loose_rounds)
158
+
159
+# Siege
160
+win_rounds = 0
161
+while win_rounds <= 30:
162
+	win_loop(win_rounds)

Ładowanie…
Anuluj
Zapisz