-
Notifications
You must be signed in to change notification settings - Fork 70
/
mhxy_even_guaji.py
61 lines (52 loc) · 1.53 KB
/
mhxy_even_guaji.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
from game_process import *
from mhxy_baotu import Baotu
from mhxy_ghost import *
from mhxy_mijing import MiJing
from mhxy_shopping2 import *
# 挖矿、抢公示
if __name__ == '__main__':
# os.chdir(r"/")
try:
pyautogui.PAUSE = 0.1
# log("start task....")
# 2
log("抢公示")
shopping = Shopping2()
# shopping.openSop()
shopping.shopping2()
shopping.close()
# 1
# log("收非珍品")
# shopping = Shopping()
# shopping.hour = 5
# shopping.openShop()
# shopping.do()
# shopping.close()
# log("挖矿")
# mine = Mine(idx=0)
# mine.do()
# 3
# mine = Mine(idx=1)
# mine.do()
# log("捉鬼")
# ghost = Ghost(idx = 0)
# ghost.maxRound = 10
# ghost.getDialog()
# ghost.ghost()
# 清一波日常
g = GameProcess()
g.moveZhuomianbanVertical()
config = init(idx=0)
baotu = Baotu(config=config)
if gotoActivity(r'resources/richang/baotu.png'):
baotu.mission()
baotu.do()
if datetime.datetime.now().weekday() != 0 and gotoActivity(r'resources/richang/mijing.png'):
MiJing(config=config).do()
log("关机")
# shopping.close()
# if datetime.datetime.now().hour != 7:
# pl.playsound('resources/common/music.mp3')
os.system("shutdown -s")
except (FailSafeException):
pl.playsound('resources/common/music.mp3')