Commit Graph

9063 Commits

Author SHA1 Message Date
Sherkey
31c2e08856 Merge branch 'MaaAssistantArknights:dev' into dev 2023-09-30 20:56:34 +08:00
zzyyyl
b0d04c2354 perf: 肉鸽相关 tasks.json 优化 (#6596) 2023-09-30 20:49:17 +08:00
Lancarus
3972e61e62 fix: 修复需要凹直升开局的值判断错误
(cherry picked from commit afcfa67376)
2023-09-30 20:47:34 +08:00
zzyyyl
c20c68e192 perf: 删除冗余的 "Sami@Roguelike@NextLevel" 2023-09-30 20:27:16 +08:00
zzyyyl
e8c96c2027 perf: 优化 Sami@Roguelike@NextLevelThenExit 2023-09-30 20:27:06 +08:00
zzyyyl
88fc31fc1c perf: 将 Roguelike@NextLevel 的 next 抽出为 Roguelike@Stages 2023-09-30 20:23:34 +08:00
zzyyyl
9ffb641cec feat: 移除之前弃用的肉鸽模式 "2" 2023-09-30 20:00:22 +08:00
zzyyyl
4ba86c7ead fix: 修复非刷源石锭时遇到商店直接退出的问题 2023-09-30 19:53:04 +08:00
zzyyyl
2986d346a4 perf: 优化 刷源石锭模式是否进入第二层 的实现方式 (#6593)
link to #6578
2023-09-30 19:51:08 +08:00
zzyyyl
f99dc4887a fix: 修复日服傀影肉鸽大盗当头识别错误 (#6592) 2023-09-30 19:14:01 +08:00
mejiro silence
c466f89d50 Merge branch 'MaaAssistantArknights:dev' into dev 2023-09-30 18:46:59 +08:00
David
5c11189190 i18n: small correction in en-us
[skip ci]
2023-09-30 12:16:22 +02:00
uye
2db06daea1 chore: 调整 copilot 小提示内容 2023-09-30 18:05:04 +08:00
zzyyyl
f1c6dea581 perf: 优化 刷源石锭模式是否进入第二层 的实现方式 2023-09-30 17:54:21 +08:00
mejiro silence
121eddff50 fix: 修复日服傀影肉鸽大盗当头识别错误
天翔ける怪盗・劇団篇
有时会识别成: 天翔ける怪盗・劇団窟, 天翔ける怪盗・劇団篤
2023-09-30 17:50:44 +08:00
Lancarus
054fd4dc38 feat: 肉鸽刷源石锭增加不去第二层的选项 (#6578) 2023-09-30 15:57:15 +08:00
Lancarus
629739a41d Merge branch 'MaaAssistantArknights:dev' into sami 2023-09-30 10:52:43 +08:00
uye
0afda40b3b style: 删除多余空格 2023-09-29 23:18:46 +08:00
uye
0acaef9c33 Merge branch 'dev' into dev 2023-09-29 23:15:26 +08:00
zzyyyl
bbb3448a12 feat: 多文件任务从 json 层面合并后再重新解析 (#6478)
现在如果有 CN 任务
```json
"base": { "text": [ "CN" ], "next": [ "aaa" ] },
"A": { "baseTask": "base", "next": [ "bbb" ] }
"B": { "baseTask": "base", "next": [ "ccc" ] }
```
只需要在 EN 文件中重新定义 base:
```json
"base": { "text": [ "EN" ] }
```
就等价于
```json
"base": { "text": [ "EN" ], "next": [ "aaa" ] },
"A": { "text": [ "EN" ], "next": [ "bbb" ] }
"B": { "text": [ "EN" ], "next": [ "ccc" ] }
```
不必再 copy 重复文件内容。外服适配不再是难题!

close #6313
2023-09-29 23:13:39 +08:00
zzyyyl
96b8e6a03d perf: tasks.json 大修改 (#6563)
1. 删除已有 `CloseAnnos#next` 时冗余的 `TodaysSupplies`
2. `ReturnTo` -> `BlackReturn`, `Return-White` -> `WhiteReturn`,
`ReturnToConfirm` -> `ReturnConfirm`
3. 把 黑返回键 `BlackReturn`、白返回键 `WhiteReturn`、`FromStageSN` 组合成 返回键组
`ReturnButtons`(类似 `CloseAnnos`)
4. 给 黑白返回键 的 _next_ 增加 _Loading_ 套餐(跳过领取奖励时匹配得分低也许是因为这个)
5. 由于 _Infrast_, _Roguelike_, _Reclamation_ 之前特化了
`ReturnTo`,现在重新特化黑白返回键;_Reclamation_ 之前特化了 `PopupConfirm` 作为
`ReturnConfirm` (好奇怪,但我应该没理解错吧),现在重新特化 `ReturnConfirm`,修改了名称和相关内容
2023-09-29 23:13:04 +08:00
uye
c9588ea7bf fix: 修复自动战斗-战斗列表拖拽导致崩溃 (#6555) 2023-09-29 23:01:10 +08:00
Lancarus
f5efdbe263 feat: 优化肉鸽招募策略 (#6579)
fix #6068
2023-09-29 21:31:02 +08:00
Lancarus
d796a374bf Merge branch 'Phantom' of https://github.com/Lancarus/MaaAssistantArknights into Phantom 2023-09-29 19:45:26 +08:00
Lancarus
c604ef285b Merge branch 'MaaAssistantArknights:dev' into Phantom 2023-09-29 19:45:51 +08:00
Lancarus
c82c0b7fec 降低热水壶和演讲稿template阈值 2023-09-29 19:45:21 +08:00
Lancarus
4329801490 fix: 修改肉鸽模式一些ocr参数 (#6580) 2023-09-29 19:39:07 +08:00
Annoying Flower
e9f9cace6a fix: 修改肉鸽选技能时识别干员名的二值化下限值
上次改错值了...这次改回来(
2023-09-29 15:58:13 +08:00
Annoying Flower
107aad2148 feat: 优化肉鸽再进入关卡的点击范围
根据三种肉鸽绝大部分地图的紧急和普通版本的可点区域,缩小点击范围,这次应该不会卡在关卡外面了
2023-09-29 15:45:37 +08:00
Lancarus
a66b807afc fix: 傀影肉鸽骑士对决ocr替换 2023-09-29 15:44:51 +08:00
Lancarus
0dd10cf02b 加了个控制条件 2023-09-29 14:49:47 +08:00
Lancarus
2d93905799 feat: 优化肉鸽招募策略 fix #6068 2023-09-29 14:35:05 +08:00
Lancarus
a6241d4271 fix: 尝试修复#6552导致的死循环 (#6577)
#6552 重命名任务,缩小了点击范围(只测了下萨米的,其他的不知道位置变化大不大),逻辑改成直到进入肉鸽开始战斗界面前一直点
2023-09-29 13:42:11 +08:00
Lancarus
27bb2e6e51 外服ui适配 2023-09-29 02:40:18 +08:00
Lancarus
a670091b55 fix:尝试修复#6552导致的死循环 2023-09-29 02:21:52 +08:00
Lancarus
c2d261d02c 格式化代码 2023-09-29 02:16:49 +08:00
Lancarus
d5cfd6e147 feat:肉鸽刷源石锭模式添加是否去第二层的选项 2023-09-29 02:16:05 +08:00
Lancarus
7700192993 Revert "feat: 肉鸽刷源石锭增加不去第二层的选项"
This reverts commit 8c6a5790ac.
2023-09-29 02:12:51 +08:00
Lancarus
8c6a5790ac feat: 肉鸽刷源石锭增加不去第二层的选项 2023-09-29 02:10:06 +08:00
zzyyyl
f9c2441bfb perf: use std::string_view 2023-09-29 00:33:28 +08:00
zzyyyl
4146fae8b3 feat: 每次 parse 都先清空已生成的任务信息 2023-09-29 00:33:28 +08:00
zzyyyl
9002d2e2c6 refactor: remove useless fields 2023-09-29 00:33:28 +08:00
zzyyyl
a1faca9b82 fix: 修复 "baseTask": "#none",以及相关文档 2023-09-29 00:33:28 +08:00
David
51595c8d52 refactor: useless objects 2 2023-09-29 00:33:28 +08:00
zzyyyl
2090eed552 refactor: removing useless objects
Co-authored-by: David <56174894+Constrat@users.noreply.github.com>
2023-09-29 00:33:28 +08:00
zzyyyl
b30ba2a85b feat: 多文件任务从 json 层面合并后再重新解析
现在如果有 CN 任务
```
"base": { "text": [ "CN" ], "next": [ "yyy" ] },
"A": { "baseTask": "base", "next": [ "xxx" ] }
```
只需要在 EN 文件中重新定义 base:
```
"base": { "text": [ "EN" ] }
```
就等价于
```
"base": { "text": [ "EN" ], "next": [ "yyy" ] },
"A": { "text": [ "EN" ], "next": [ "xxx" ] }
```

外服适配不再是难题!
Multi-language adaptation is no longer a problem!
2023-09-29 00:33:20 +08:00
zzyyyl
59c1b9dd8e fix: 修复超出生成任务上限时访问越界的问题,增加生成任务上限至 10000
是半年前的憨憨 zzyyyl 写的!
link to aa79432f4a
2023-09-28 21:14:54 +08:00
MistEO
5a81d1acf6 doc: 补充 Hyper-V 说明 (#6572) 2023-09-28 15:54:46 +08:00
Rbqwow
0a50ac5ea8 update docs/1.3-模拟器支持.md 2023-09-28 15:16:24 +08:00
uye
924695027f style: 格式化 xaml 2023-09-28 13:57:19 +08:00