feat: add sweep and task reward automation

This commit is contained in:
admin committed 2026-10-04 19:17:10 +08:00
1 parent 8479cf4981
commit 44d9a617d1
21 files changed
+516 -8

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
{
"name": "小金猪快速扫荡",
"interval_seconds": 2,
"states": {
"home": [{"template": "home.png", "search": [150, 730, 410, 865]}],
"sweep_available": [
{"template": "idle_dialog_title.png", "search": [170, 260, 400, 380]},
{"template": "sweep_available.png", "search": [20, 645, 330, 825]}
],
"reward": [
{"template": "sweep_reward.png", "search": [120, 220, 440, 370], "threshold": 0.8},
{"template": "sweep_dismiss.png", "search": [145, 610, 420, 730]}
]
},
"clicks": {
"open_pig": [0.135, 0.607],
"sweep": [0.32, 0.73],
"dismiss_reward": [0.50, 0.67],
"close": [0.50, 0.94]
}
}
+26
View File
@@ -0,0 +1,26 @@
{
"name": "日常与周常任务奖励领取",
"max_claims_per_panel": 20,
"states": {
"home": [{"template": "home.png", "search": [150, 730, 410, 865]}],
"daily": [{"template": "tasks_daily_title.png", "search": [130, 75, 430, 190]}],
"weekly": [{"template": "tasks_weekly_title.png", "search": [130, 75, 430, 190]}],
"reward": [
{"template": "tasks_reward.png", "search": [120, 220, 440, 370], "threshold": 0.8},
{"template": "tasks_dismiss.png", "search": [145, 610, 420, 730]}
]
},
"task_dot": [{"template": "tasks_home_dot.png", "search": [515, 175, 562, 230]}],
"claim_button": {"template": "tasks_claim.png", "search": [345, 300, 535, 875]},
"tab_dots": {
"daily": {"template": "tasks_tab_dot.png", "search": [360, 830, 430, 910]},
"weekly": {"template": "tasks_tab_dot.png", "search": [470, 830, 550, 910]}
},
"clicks": {
"open_tasks": [0.93, 0.21],
"open_daily": [0.62, 0.884],
"open_weekly": [0.80, 0.884],
"dismiss_reward": [0.50, 0.67],
"close": [0.93, 0.14]
}
}