forked from Meowcolm024/FGO-Automata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqp.py
39 lines (31 loc) · 891 Bytes
/
qp.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
from core.Automata import Automata
import logging
import time
import uiautomator2 as u2
import os
#logging.basicConfig(filename='automata.log',filemode='w',level=logging.INFO,format='%(asctime)s %(levelname)s %(message)s',datefmt='%y/%m/%d %I:%M:%S %p')
bb = Automata("assets/Qp4.png", "assets/blls.png", (0, 0))
bb.set_apples(1, "assets/gold.png")
count = 0
while count < 27:
bb.quick_start()
time.sleep(10)
# BATTLE 1
bb.select_servant_skill(3, mode = 1)
bb.select_servant_skill(6)
bb.select_servant_skill(5)
#bb.select_servant_skill(7)
#bb.select_servant_skill(9)
bb.select_servant_skill(9)
bb.select_cards([7])
time.sleep(15)
# BATTLE 2
#bb.select_servant_skill(3)
bb.select_cards([8])
time.sleep(18)
# BATTLE 3
bb.select_cards([6])
time.sleep(10)
# FINISH
bb.finish_battle()
time.sleep(5)