-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdemo.py
80 lines (74 loc) · 2.06 KB
/
demo.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
"""
Author: Night-stars-1 nujj1042633805@gmail.com
Date: 2024-04-04 17:56:16
LastEditTime: 2024-09-10 20:16:50
LastEditors: Night-stars-1 nujj1042633805@gmail.com
"""
from loguru import logger
from auto.run_business import run, start
from auto.run_business.main import buy_business, click_station, go_business
from auto.run_business.sell import sell_business
from core.adb.adb import connect
if __name__ == "__main__1":
run(
city_book={
"7号自由港": 3,
"修格里城": 3,
"曼德矿场": 3,
"淘金乐园": 3,
"澄明数据中心": 3,
"荒原站": 3,
"铁盟哨站": 3,
"阿妮塔战备工厂": 3,
"阿妮塔能源研究所": 3,
"priceThreshold": 500,
},
skill_level={
"伊尔": 0,
"卡洛琳": 0,
"叶珏": 0,
"塞西尔": 0,
"多萝西": 0,
"奈弥": 0,
"山岚": 0,
"星花": 0,
"朱利安": 2,
"狮鬃": 0,
"瑞秋": 0,
"瓦伦汀": 0,
"艾略特": 0,
"菲妮娅": 0,
"闻笙": 0,
"阿知波": 0,
"隼": 0,
"雷火": 0,
"魇": 0,
"黛丝莉": 0,
},
station_level={
"7号自由港": 17,
"修格里城": 13,
"曼德矿场": 12,
"澄明数据中心": 16,
},
negotiate_price={
"7号自由港": 2,
"修格里城": 2,
"曼德矿场": 2,
"淘金乐园": 2,
"澄明数据中心": 2,
"荒原站": 2,
"铁盟哨站": 2,
"阿妮塔战备工厂": 2,
"阿妮塔能源研究所": 2,
"buyTired": 8,
"sellTired": 8,
},
max_goods_num=625,
)
# click_station("修格里城")
if __name__ == "__main__":
connect()
# go_business("buy")
# start()
click_station("海角城")