Files
MaaAssistantArknights/resource/tasks.json
2021-10-04 19:16:35 +08:00

765 lines
18 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"SanityBegin": {
"algorithm": "justreturn",
"action": "doNothing",
"next": [
"UsePrts",
"StartButton1",
"StartButton2",
"PRTS",
"UseMedicine",
"UseStone",
"EndOfAction",
"PrtsErrorConfirm",
"OfflineConfirm",
"StartToWakeUp",
"TodaysSupplies",
"CloseAnno",
"Terminal",
"LastBattle"
]
},
"UsePrts": {
"template": "UsePrts.png",
"templThreshold": 0.8,
"action": "clickSelf",
"next": [
"StartButton1"
]
},
"StartButton1": {
"template": "StartButton1.png",
"templThreshold": 0.75,
"action": "clickSelf",
"next": [
"StartButton2",
"UseMedicine",
"UseStone"
]
},
"StartButton2": {
"template": "StartButton2.png",
"action": "clickSelf",
"rearDelay": 20000,
"templThreshold": 0.95,
"next": [
"PRTS",
"StartButton2",
"OfflineConfirm"
]
},
"PRTS": {
"algorithm": "OcrDetect",
"text": [
"剩余可放置角色",
"接管作战"
],
"identifyArea": [
0,
530,
1279,
189
],
"action": "doNothing",
"rearDelay": 5000,
"next": [
"PRTS",
"PrtsErrorConfirm",
"EndOfAction",
"OfflineConfirm",
"WaitAfterPRTS"
]
},
"WaitAfterPRTS": {
"rearDelay": 3000,
"algorithm": "justreturn",
"action": "doNothing",
"next": [
"PRTS",
"EndOfAction",
"ClickCornerAfterPRTS"
]
},
"ClickCornerAfterPRTS": {
"ClickCorner_Doc": "点击屏幕右边,不会点到掉落物品,且不会关掉关卡选择的一块区域",
"algorithm": "justreturn",
"action": "clickRect",
"specificArea": [
1000,
1,
270,
340
],
"next": [
"EndOfAction",
"Loading",
"StartButton1",
"StartButton2",
"UseMedicine",
"UseStone",
"ClickCornerAfterPRTS"
]
},
"EndOfAction": {
"algorithm": "OcrDetect",
"text": [
"行动结束"
],
"preDelay": 5000,
"action": "printWindow",
"next": [
"ClickCorner"
]
},
"ClickCorner": {
"ClickCorner_Doc": "点击屏幕右边,不会点到掉落物品,且不会关掉关卡选择的一块区域",
"algorithm": "justreturn",
"action": "clickRect",
"rearDelay": 2000,
"specificArea": [
1000,
1,
270,
340
],
"next": [
"Loading",
"StartButton1",
"StartButton2",
"UseMedicine",
"UseStone",
"EndOfAction"
]
},
"Loading": {
"template": "Loading.png",
"templThreshold": 0.8,
"action": "doNothing",
"next": [
"StartButton1"
]
},
"UseMedicine": {
"template": "UseMedicine.png",
"action": "doNothing",
"next": [
"MedicineConfirm"
]
},
"MedicineConfirm": {
"template": "MedicineConfirm.png",
"action": "clickSelf",
"maxTimes": 0,
"reduceOtherTimes": [
"StartButton1"
],
"next": [
"StartButton1"
]
},
"UseStone": {
"template": "UseStone.png",
"action": "doNothing",
"next": [
"StoneConfirm"
]
},
"StoneConfirm": {
"template": "MedicineConfirm.png",
"action": "clickSelf",
"maxTimes": 0,
"reduceOtherTimes": [
"StartButton1"
],
"next": [
"StartButton1"
]
},
"PrtsErrorConfirm": {
"template": "PrtsErrorConfirm.png",
"templThreshold": 0.8,
"cache": false,
"action": "doNothing",
"next": [
"AbandonAction",
"OfflineConfirmAfterBattle"
]
},
"AbandonAction": {
"template": "AbandonAction.png",
"action": "clickSelf",
"cache": false,
"reduceOtherTimes": [
"StartButton1",
"StartButton2",
"Loading"
],
"next": [
"EndOfAction",
"StartToWakeUp",
"OfflineConfirm"
]
},
"OfflineConfirmAfterBattle": {
"template": "PopupConfirm.png",
"action": "clickSelf",
"cache": false,
"next": [
"PRTS",
"PrtsErrorConfirm",
"OfflineConfirm",
"StartToWakeUp"
]
},
"OfflineConfirm": {
"template": "OfflineConfirm.png",
"action": "clickSelf",
"cache": false,
"reduceOtherTimes": [
"StartButton1",
"StartButton2",
"Loading"
],
"next": [
"CloseAnno",
"StartToWakeUp",
"OfflineConfirm"
]
},
"StartToWakeUp": {
"template": "StartToWakeUp.png",
"action": "clickSelf",
"cache": false,
"next": [
"Terminal",
"CloseAnno",
"OfflineConfirm",
"TodaysSupplies"
]
},
"CloseAnno": {
"template": "CloseAnno.png",
"action": "clickSelf",
"cache": false,
"next": [
"Terminal",
"CloseAnno",
"TodaysSupplies"
]
},
"Terminal": {
"template": "Terminal.png",
"cache": false,
"action": "clickSelf",
"next": [
"LastBattle",
"CloseAnno",
"TodaysSupplies"
]
},
"TodaysSupplies": {
"algorithm": "OcrDetect",
"cache": false,
"text": [
"今日配给"
],
"action": "clickRect",
"specificArea": [
1000,
1,
270,
340
],
"next": [
"CloseAnno",
"Terminal"
]
},
"LastBattle": {
"algorithm": "OcrDetect",
"cache": false,
"text": [
"上一次作战",
"前往上一次"
],
"action": "clickSelf",
"next": [
"StartButton1"
]
},
"VisitBegin": {
"algorithm": "justreturn",
"action": "doNothing",
"next": [
"Friends",
"FriendsList",
"StartToVisit",
"VisitNext",
"VisitNextBlack",
"ReturnToFriends"
]
},
"ReturnToFriends": {
"template": "Return.png",
"templThreshold": 0.85,
"histThreshold": 0.85,
"rearDelay": 1000,
"action": "clickSelf",
"next": [
"Friends",
"ReturnToFriends"
]
},
"Friends": {
"template": "Friends.png",
"templThreshold": 0.85,
"action": "clickSelf",
"next": [
"FriendsList",
"Friends"
]
},
"FriendsList": {
"template": "FriendsList.png",
"action": "clickSelf",
"next": [
"StartToVisit",
"NoFriends"
]
},
"NoFriends": {
"template": "NoFriends.png",
"action": "doNothing",
"next": [
"ReturnToMall"
]
},
"StartToVisit": {
"template": "StartToVisit.png",
"templThreshold": 0.8,
"action": "clickSelf",
"rearDelay": 3000,
"next": [
"VisitNext",
"VisitNextBlack",
"VisitNextOcr"
]
},
"VisitNext": {
"template": "VisitNext.png",
"action": "clickSelf",
"cache": false,
"rearDelay": 2000,
"identifyArea": [
1080,
570,
195,
130
],
"exceededNext": [
"ReturnToMall"
],
"next": [
"VisitLimited",
"VisitNext",
"VisitNextBlack",
"VisitNextOcr"
]
},
"VisitNextOcr": {
"algorithm": "OcrDetect",
"text": [
"访问下位"
],
"action": "clickSelf",
"rearDelay": 2000,
"identifyArea": [
1080,
570,
195,
130
],
"exceededNext": [
"ReturnToMall"
],
"next": [
"VisitLimited",
"VisitNext",
"VisitNextBlack",
"VisitNextOcr"
]
},
"ReturnToMall": {
"rearDelay": 1000,
"template": "Return.png",
"action": "clickSelf",
"next": [
"Mall",
"ReturnToMallConfirm",
"ReturnToMall"
]
},
"ReturnToMallConfirm": {
"template": "PopupConfirm.png",
"action": "clickSelf",
"rearDelay": 3000,
"next": [
"ReturnToMall"
]
},
"Mall": {
"template": "Mall.png",
"action": "clickSelf",
"next": [
"CreditStore",
"CreditStoreOcr"
]
},
"CreditStore": {
"template": "CreditStore.png",
"templThreshold": 0.85,
"rearDelay": 1000,
"action": "clickSelf",
"next": [
"CollectCredit",
"Stop"
]
},
"CreditStoreOcr": {
"algorithm": "OcrDetect",
"text": [
"信用交易所"
],
"identifyArea": [
1000,
0,
280,
300
],
"rearDelay": 1000,
"action": "clickSelf",
"next": [
"CollectCredit",
"Stop"
]
},
"CollectCredit": {
"template": "CollectCredit.png",
"action": "clickSelf",
"rearDelay": 2000,
"next": [
"CloseCollectCredit"
]
},
"CloseCollectCredit": {
"algorithm": "justReturn",
"action": "clickRect",
"specificArea": [
1000,
1,
270,
340
],
"next": [
"Stop"
]
},
"VisitLimited": {
"algorithm": "OcrDetect",
"text": [
"今日参与",
"已达上限"
],
"action": "doNothing",
"identifyArea": [
900,
50,
375,
140
],
"next": [
"ReturnToMall"
]
},
"VisitNextBlack": {
"template": "VisitNextBlack.png",
"action": "doNothing",
"identifyArea": [
1080,
570,
195,
130
],
"next": [
"ReturnToMall"
]
},
"Stop": {
"algorithm": "justreturn",
"action": "stop",
"next": []
},
"RecruitTime": {
"template": "RecruitTimeReduce.png",
"templThreshold": 0.89,
"action": "clickRect",
"specificArea": [
391,
279,
129,
44
],
"next": [
"Stop"
]
},
"Listless": {
"template": "Listless.png",
"action": "clickSelf",
"next": [
"Stop"
]
},
"OperatorBegin": {
"algorithm": "justreturn",
"action": "doNothing",
"next": [
"EnterOperator",
"ReturnToOperator"
]
},
"EnterOperator": {
"template": "EnterOperator.png",
"rareDelay": 1000,
"templThreshold": 0.7,
"action": "clickSelf",
"next": [
"Stop"
]
},
"ReturnToOperator": {
"template": "Return.png",
"templThreshold": 0.85,
"histThreshold": 0.85,
"rearDelay": 1000,
"action": "clickSelf",
"next": [
"EnterOperator",
"ReturnToOperator"
]
},
"InfrastBegin": {
"algorithm": "justreturn",
"action": "doNothing",
"next": [
"EnterInfrast",
"InfrastEnteredFlag",
"InfrastNotification",
"ReturnToInfrast"
]
},
"ReturnToInfrast": {
"template": "Return.png",
"templThreshold": 0.85,
"histThreshold": 0.85,
"rearDelay": 1000,
"action": "clickSelf",
"next": [
"EnterInfrast",
"InfrastNotification",
"InfrastEnteredFlag",
"ReturnToInfrast"
]
},
"EnterInfrast": {
"template": "EnterInfrast.png",
"templThreshold": 0.85,
"histThreshold": 0.85,
"rareDelay": 3000,
"action": "clickSelf",
"next": [
"InfrastEnteredFlag"
]
},
"InfrastEnteredFlag": {
"template": "InfrastOverview.png",
"templThreshold": 0.8,
"action": "doNothing",
"next": [
"InfrastNotification",
"InfrastSwipeToTheLeft"
]
},
"InfrastSwipeToTheLeft": {
"algorithm": "justReturn",
"action": "swipeToTheLeft",
"next": [
"Stop"
]
},
"Trade": {
"template": "Trade.png",
"templThreshold": 0.8,
"cache": false,
"action": "clickSelf",
"rearDelay": 1000,
"next": [
"ManufacturingLeftBottom"
]
},
"TradeMini": {
"template": "TradeMini.png",
"templThreshold": 0.8,
"cache": false,
"action": "clickSelf",
"rearDelay": 1000,
"next": [
"ManufacturingLeftBottom"
]
},
"Manufacturing": {
"template": "Manufacturing.png",
"templThreshold": 0.8,
"cache": false,
"action": "clickSelf",
"rearDelay": 1000,
"next": [
"ManufacturingLeftBottom"
]
},
"ManufacturingMini": {
"template": "ManufacturingMini.png",
"templThreshold": 0.8,
"cache": false,
"action": "clickSelf",
"rearDelay": 1000,
"next": [
"ManufacturingLeftBottom"
]
},
"ManufacturingLeftBottom": {
"Doc": "制造站点进去之后,左下角那个“中级作战记录 制造中”",
"algorithm": "justreturn",
"action": "clickRect",
"specificArea": [
1,
535,
525,
180
],
"next": [
"Manufacturing1st"
]
},
"Manufacturing1st": {
"Doc": "设施列表里第一个(第一个制造站或者贸易站)",
"algorithm": "justreturn",
"action": "clickRect",
"specificArea": [
1,
183,
220,
60
],
"next": [
"Stop"
]
},
"InfrastNotification": {
"template": "InfrastNotification.png",
"templThreshold": 0.8,
"action": "clickSelf",
"next": [
"InfrastReward",
"InfrastExitReward"
]
},
"InfrastReward": {
"algorithm": "OcrDetect",
"text": [
"可收获",
"订单交付",
"信赖"
],
"rearDelay": 1000,
"action": "clickSelf",
"identifyArea": [
0,
600,
800,
118
],
"cache": false,
"next": [
"InfrastReward",
"InfrastExitReward"
]
},
"InfrastExitReward": {
"Doc": "干员疲劳、线索收集 是不能一键收获的,所以要先退出一键收获的界面,这里点击的是控制中枢左侧那一片空白的区域",
"algorithm": "justreturn",
"action": "clickRect",
"specificArea": [
250,
100,
380,
140
],
"next": [
"Stop"
]
},
"UavAssist-MFG": {
"template": "UavAssist-MFG.png",
"action": "clickSelf",
"cache": false,
"maxTimes": 1,
"Doc": "不同于贸易站,制造站的无人机是一次性全用掉的,所以只执行一次就够了",
"next": [
"UavMax",
"UavConfirm"
]
},
"UavAssist-Trade": {
"template": "UavAssist-Trade.png",
"action": "clickSelf",
"cache": false,
"next": [
"UavMax",
"UavConfirm"
]
},
"UavMax": {
"template": "UavMax.png",
"action": "clickSelf",
"next": [
"UavConfirm"
]
},
"UavConfirm": {
"template": "UavConfirm.png",
"action": "clickSelf",
"rearDelay": 2000,
"next": [
"DeliverableOrder",
"UavAssist-Trade-Stop",
"UavAssist-MFG"
]
},
"DeliverableOrder": {
"template": "DeliverableOrder.png",
"cache": false,
"action": "clickSelf",
"next": [
"DeliverableOrder",
"UavAssist-Trade"
]
},
"UavAssist-Trade-Stop": {
"Doc": "如果找到了“无人机加速”按钮却没有找到订单交付说明上一次无人机没有把一个订单加速完成也说明没有更多的无人机了所以直接stop",
"template": "UavAssist-Trade.png",
"action": "stop",
"cache": false,
"next": []
}
}