Skip to content

Commit 40f22a9

Browse files
committed
feat: 领取邮件
1 parent c36951f commit 40f22a9

4 files changed

Lines changed: 354 additions & 85 deletions

File tree

assets/interface.json

Lines changed: 114 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,116 @@
11
{
2-
"interface_version": 2,
3-
"name": "MaaDuDuL",
4-
"title": "MDDL 嘟嘟脸小助手(kqcoxn/MaaDuDuL) v0.0.1 - MFAA | 测试阶段",
5-
// "icon": "icon.png",
6-
"description": "嘟嘟脸小助手",
7-
"version": "v0.0.1",
8-
"welcome": "欢迎使用 MDDL!",
9-
"contact": "QQ群: 926874985",
10-
"license": "AGPL-3.0",
11-
"github": "https://github.com/kqcoxn/MaaDuDuL",
12-
// "mirrorchyan_rid": "MaaDuDuL",
13-
// "mirrorchyan_multiplatform": true,
14-
"controller": [
15-
{
16-
"name": "模拟器",
17-
"type": "Adb",
18-
"display_short_side": 720
19-
}
20-
],
21-
"resource": [
22-
{
23-
"name": "B服",
24-
"path": ["{PROJECT_DIR}/resource/base"]
25-
}
26-
],
27-
"agent": {
28-
"child_exec": "python",
29-
"child_args": ["-u", "{PROJECT_DIR}/agent/main.py"]
30-
},
31-
"task": [
32-
{
33-
"name": "说明",
34-
"entry": "连续作战_开始"
35-
},
36-
{
37-
"name": "操作指南",
38-
"entry": "连续作战_开始"
39-
},
40-
{
41-
"name": "启动游戏",
42-
"entry": "启动游戏_开始"
43-
},
44-
{
45-
"name": "——— 日常任务 ———",
46-
"entry": "日常分隔符"
47-
},
48-
{
49-
"name": "——— 活动任务 ———",
50-
"entry": "活动分隔符"
51-
},
52-
{
53-
"name": "——— 单次任务 ———",
54-
"entry": "单次任务分隔符"
55-
},
56-
{
57-
"name": "——— 开荒功能 ———",
58-
"entry": "开荒功能分隔符"
59-
},
60-
{
61-
"name": "连续作战",
62-
"entry": "连续作战_开始"
63-
},
64-
{
65-
"name": "——— 新增任务 ———",
66-
"entry": "新增任务分隔符"
67-
}
68-
],
69-
"option": {}
2+
"interface_version": 2,
3+
"name": "MaaDuDuL",
4+
"title": "MDDL 嘟嘟脸小助手(kqcoxn/MaaDuDuL) v0.0.1 - MFAA | 测试阶段",
5+
// "icon": "icon.png",
6+
"description": "嘟嘟脸小助手",
7+
"version": "v0.0.1",
8+
"welcome": "欢迎使用 MDDL!",
9+
"contact": "QQ群: 926874985",
10+
"license": "AGPL-3.0",
11+
"github": "https://github.com/kqcoxn/MaaDuDuL",
12+
// "mirrorchyan_rid": "MaaDuDuL",
13+
// "mirrorchyan_multiplatform": true,
14+
"controller": [
15+
{
16+
"name": "模拟器",
17+
"type": "Adb",
18+
"display_short_side": 720
19+
}
20+
],
21+
"resource": [
22+
{
23+
"name": "B服",
24+
"path": ["{PROJECT_DIR}/resource/base"]
25+
}
26+
],
27+
"agent": {
28+
"child_exec": "python",
29+
"child_args": ["-u", "{PROJECT_DIR}/agent/main.py"]
30+
},
31+
"task": [
32+
{
33+
"name": "说明",
34+
"label": "说明",
35+
"entry": "连续作战_开始",
36+
"description": ""
37+
},
38+
{
39+
"name": "操作指南",
40+
"label": "操作指南",
41+
"entry": "连续作战_开始",
42+
"description": ""
43+
},
44+
{
45+
"name": "启动游戏",
46+
"label": "启动游戏",
47+
"entry": "启动游戏_开始",
48+
"default_check": true,
49+
"description": ""
50+
},
51+
{
52+
"name": " ——— 日常任务 ———",
53+
"label": "——— 日常任务 ———",
54+
"entry": "日常分隔符",
55+
"description": ""
56+
},
57+
{
58+
"name": "领取邮件",
59+
"label": "领取邮件",
60+
"entry": "领取邮件_开始",
61+
"default_check": true,
62+
"description": "",
63+
"option": ["领取邮件-周期检查"]
64+
},
65+
{
66+
"name": " ——— 活动任务 ———",
67+
"label": "——— 活动任务 ———",
68+
"entry": "活动分隔符",
69+
"description": ""
70+
},
71+
{
72+
"name": " ——— 单次任务 ———",
73+
"label": "——— 单次任务 ———",
74+
"entry": "单次任务分隔符",
75+
"description": ""
76+
},
77+
{
78+
"name": " ——— 开荒功能 ———",
79+
"label": "——— 开荒功能 ———",
80+
"entry": "开荒功能分隔符",
81+
"description": ""
82+
},
83+
{
84+
"name": "连续作战",
85+
"label": "连续作战",
86+
"entry": "连续作战_开始",
87+
"description": ""
88+
},
89+
{
90+
"name": " ——— 新增任务 ———",
91+
"label": "——— 新增任务 ———",
92+
"entry": "新增任务分隔符",
93+
"description": ""
94+
}
95+
],
96+
"option": {
97+
"领取邮件-周期检查": {
98+
"type": "switch",
99+
"label": "每日仅检查一次邮箱",
100+
"description": "",
101+
"cases": [
102+
{
103+
"name": "No",
104+
"pipeline_override": {
105+
"领取邮件_周期检查": {
106+
"recognition": "DirectHit"
107+
}
108+
}
109+
},
110+
{
111+
"name": "Yes"
112+
}
113+
]
114+
}
115+
}
70116
}
1.37 KB
Loading

assets/resource/base/pipeline/日常任务/启动游戏.json

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
"$__mpe_code": {
44
"filePath": "D:\\_Projects\\programs\\MaaDuDuL\\assets\\resource\\base\\pipeline\\日常任务\\启动游戏.json",
55
"filename": "启动游戏",
6-
"lastSyncTime": 1766214617993,
6+
"lastSyncTime": 1766236476578,
77
"prefix": "启动游戏",
88
"savedViewport": {
9-
"x": -1035.0702176584655,
10-
"y": 85.93816984724077,
11-
"zoom": 1.0000000000000018
9+
"x": -1360.4852188256132,
10+
"y": 383.7767644066229,
11+
"zoom": 1.4358729437462954
1212
},
1313
"version": "v0.12.0_beta_1"
1414
}
1515
},
1616
"启动游戏_关闭公告": {
1717
"$__mpe_code": {
1818
"position": {
19-
"x": 1128,
20-
"y": 375
19+
"x": 1124,
20+
"y": 417
2121
}
2222
},
2323
"action": {
@@ -35,8 +35,8 @@
3535
"启动游戏_关闭面板": {
3636
"$__mpe_code": {
3737
"position": {
38-
"x": 1948,
39-
"y": 358
38+
"x": 1944,
39+
"y": 400
4040
}
4141
},
4242
"action": {
@@ -69,11 +69,11 @@
6969
"focus": "\u003e 尝试启动游戏",
7070
"next": [
7171
"启动游戏_连续识别主界面",
72+
"启动游戏_连续识别开始界面",
7273
{
7374
"jump_back": true,
7475
"name": "启动游戏_检测公告界面"
75-
},
76-
"启动游戏_连续识别开始界面"
76+
}
7777
],
7878
"post_delay": 0,
7979
"pre_delay": 0,
@@ -140,8 +140,8 @@
140140
"启动游戏_检测公告界面": {
141141
"$__mpe_code": {
142142
"position": {
143-
"x": 857,
144-
"y": 375
143+
"x": 853,
144+
"y": 417
145145
}
146146
},
147147
"action": {
@@ -163,8 +163,8 @@
163163
"启动游戏_点击屏幕继续": {
164164
"$__mpe_code": {
165165
"position": {
166-
"x": 1685,
167-
"y": 355
166+
"x": 1681,
167+
"y": 397
168168
}
169169
},
170170
"action": {
@@ -216,7 +216,7 @@
216216
},
217217
"recognition": {
218218
"param": {
219-
"roi": [1095, 621, 170, 84],
219+
"roi": [1092, 2, 184, 75],
220220
"template": ["main/more.png"]
221221
},
222222
"type": "TemplateMatch"
@@ -252,6 +252,9 @@
252252
"param": {},
253253
"type": "DoNothing"
254254
},
255+
"focus": {
256+
"Node.Recognition.Succeeded": "\u003e 识别到主界面"
257+
},
255258
"next": ["启动游戏_结束"],
256259
"post_delay": 0,
257260
"pre_delay": 0,
@@ -274,6 +277,9 @@
274277
"param": {},
275278
"type": "DoNothing"
276279
},
280+
"focus": {
281+
"Node.Recognition.Succeeded": "\u003e 识别到登录界面"
282+
},
277283
"next": ["启动游戏_捏脸启动"],
278284
"post_delay": 0,
279285
"pre_delay": 0,
@@ -288,8 +294,8 @@
288294
"启动游戏_领取礼物": {
289295
"$__mpe_code": {
290296
"position": {
291-
"x": 1422,
292-
"y": 356
297+
"x": 1418,
298+
"y": 398
293299
}
294300
},
295301
"action": {

0 commit comments

Comments
 (0)