Files
MaaAssistantArknights/resource/tasks/RA/base.json

123 lines
4.5 KiB
JSON

{
"RA@Navigation": {
"doc": "导航到 <生息演算>",
"algorithm": "JustReturn",
"next": ["RA@Navigation-RecogniseTheme", "RA@Navigation@ReturnButtons#next", "RA@Navigation@StartUpThemes#next"]
},
"RA@Navigation-RecogniseTheme": {
"doc": "通过识别右下角 <开始演算> 或 <继续演算> 文字判断是否已到达主题入口界面",
"algorithm": "OcrDetect",
"text": ["开始演算", "继续演算"],
"roi": [1064, 620, 171, 50]
},
"RA@Navigation@MainThemes": {
"doc": "用于 <RA@StartUpThemes#next> 任务链, 标记导航到生息演算的所有入口",
"next": ["RA@Navigation-FromMainInterface", "RA@Navigation@CloseAnnos#next"]
},
"RA@Navigation-FromMainInterface": {
"action": "DoNothing",
"template": "SwitchTheme@ToggleSettingsMenu.png",
"roi": [227, 327, 159, 152],
"sub": ["Terminal-Entry"],
"next": ["RA@Navigation-FromTodoList", "RA@Navigation-LongTermExploration", "RA@Navigation@ReturnButtons#next"]
},
"RA@Navigation-LongTermExploration": {
"doc": "在 <终端> 下方导航条点击 <长期探索> 图标, 此处引用 <集成战略> 相关任务作为 baseTask",
"baseTask": "Roguelike@IntegratedStrategies",
"template": "Roguelike@IntegratedStrategies.png",
"next": ["RA@Navigation-EnterCurrentTheme", "RA@Navigation-LongTermExploration"]
},
"RA@Navigation-EnterCurrentTheme": {
"doc": "点击 <生息演算> 文字位置以进入当前主题",
"algorithm": "OcrDetect",
"text": ["生息演算"],
"roi": [673, 441, 348, 99],
"action": "ClickSelf",
"next": ["RA@Navigation-EnterCurrentTheme", "RA@Navigation#next"]
},
"RA@Navigation-FromTodoList": {
"doc": "纯虚任务: 从 <终端> 的 <TO-DO LIST> 进入对应的生息演算主题",
"template": "empty.png",
"action": "ClickSelf",
"roi": [908, 54, 372, 500],
"maskRange": [1, 255],
"next": ["RA@Navigation#next"]
},
"RA@Store@WaitEnterStore": {
"algorithm": "JustReturn",
"doc": "等动画",
"postDelay": 5000,
"next": ["RA@Store@EnterStore", "Stop"]
},
"RA@Store@EnterStore": {
"doc": "进入 <生息演算商店> 界面",
"action": "ClickSelf",
"roi": [3, 581, 132, 132],
"postDelay": 3000,
"next": ["RA@Store@Begin"]
},
"RA@Store@Begin": {
"doc": "生息演算商店,小游戏入口",
"algorithm": "JustReturn",
"next": ["RA@Store@ClickItem", "RA@Store@Swipe"]
},
"RA@Store@ClickItem": {
"action": "ClickSelf",
"method": "RGBCount",
"roi": [0, 336, 1280, 367],
"colorScales": [
[
[0, 0, 0],
[255, 255, 110]
]
],
"next": ["RA@Store@ChooseMaxAmount", "RA@Store@Purchase"]
},
"RA@Store@ChooseMaxAmount": {
"roi": [986, 352, 164, 139],
"next": ["RA@Store@UnderfundedOCR", "RA@Store@Purchase"]
},
"RA@Store@UnderfundedOCR": {
"roi": [878, 397, 82, 48]
},
"RA@Store@Purchase": {
"text": ["支付"],
"roi": [640, 400, 424, 220],
"next": ["RA@Store@PurchasedConfirm", "RA@Store@RecruitSkip", "RA@Store@Underfunded"]
},
"RA@Store@Underfunded": {
"template": "ReceivedAllMail.png",
"roi": [909, 33, 166, 165],
"method": "HSVCount",
"colorScales": [[250, 255]],
"next": ["Stop"]
},
"RA@Store@RecruitSkip": {
"template": "SS@Store@RecruitSkip.png",
"roi": [1143, 0, 137, 150],
"next": ["RA@Store@RecruitSkipClick"]
},
"RA@Store@RecruitSkipClick": {
"algorithm": "JustReturn",
"action": "ClickRect",
"specificRect": [1197, 23, 53, 45],
"next": ["RA@Store@RecruitSkipped", "RA@Store@RecruitSkipClick"]
},
"RA@Store@RecruitSkipped": {
"algorithm": "OcrDetect",
"text": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"],
"roi": [1160, 16, 97, 42],
"next": ["RA@Store@ClickItem", "RA@Store@Swipe"]
},
"RA@Store@PurchasedConfirm": {
"baseTask": "CreditShop-Bought",
"template": "CreditShop-Bought.png",
"next": ["RA@Store@PurchasedConfirm", "RA@Store@ClickItem", "RA@Store@Swipe"]
},
"RA@Store@Swipe": {
"baseTask": "SlowlySwipeToTheRight",
"postDelay": 1000,
"next": ["RA@Store@ClickItem", "Stop"]
}
}