Merge pull request #3404 from MaaAssistantArknights/dev

Release v4.10.2
This commit is contained in:
MistEO
2023-01-17 23:00:46 +08:00
committed by GitHub
8 changed files with 1667 additions and 191 deletions

View File

@@ -1,3 +1,13 @@
## v4.10.2
- 新增 `保全派驻` 内置通关作业 @HMZyueshen @AnnoyingFlowers
均同时兼容标准和应急模式,请选择 `resource/copilot/` 下对应文件,并参考说明使用
- 修复 `登临意` 活动关卡导航错误 @ABA2396
- 修复 `保全派驻` 应急模式卡住的问题 @MistEO
- 优化 `保全派驻` 调配干员按钮的优先级 @MistEO
- 优化 傀影肉鸽 部分地图策略 @WWPXX233
- 更新 蓝叠模拟器 相关文档 @wordlesswind
## v4.10.1
- 更新 `登临意` 活动关卡资源 @MistEO

View File

@@ -8,14 +8,18 @@
完美支持。需要在模拟器 `设定` - `进阶` 中打开 `Android调试桥`
## ✅ [蓝叠模拟器国际版 Hyper-V 版本](https://support.bluestacks.com/hc/zh-tw/articles/4415238471053-BlueStacks-5-%E6%94%AF%E6%8F%B4-Hyper-V-%E7%9A%84-Windows-10-%E5%92%8C-11-%E4%B8%8A%E7%9A%84%E9%9B%BB%E8%85%A6%E8%A6%8F%E6%A0%BC%E9%9C%80%E6%B1%82)
## ✅ [蓝叠模拟器 Hyper-V 版本](https://support.bluestacks.com/hc/zh-tw/articles/4415238471053-BlueStacks-5-%E6%94%AF%E6%8F%B4-Hyper-V-%E7%9A%84-Windows-10-%E5%92%8C-11-%E4%B8%8A%E7%9A%84%E9%9B%BB%E8%85%A6%E8%A6%8F%E6%A0%BC%E9%9C%80%E6%B1%82)
支持
- 在模拟器 `设定` - `进阶` 中打开 `Android调试桥`
- 由于蓝叠 Hyper-V 的端口号在不断变动,所以留了个专用的小后门:
1. 在蓝叠模拟器的数据目录下找到 `bluestacks.conf` 这个文件(默认路径为 `C:\ProgramData\BlueStacks_nxt\bluestacks.conf`
1. 在蓝叠模拟器的数据目录下找到 `bluestacks.conf` 这个文件
- 国际版默认路径为 `C:\ProgramData\BlueStacks_nxt\bluestacks.conf`
- 中国内地版默认路径为 `C:\ProgramData\BlueStacks_nxt_cn\bluestacks.conf`
2. 如果是第一次使用,请开启一次 MAA会在 MAA 目录下生成 `gui.json`
3. **先关闭** MAA**然后** 打开 `gui.json`,新增一个字段 `Bluestacks.Config.Path`,填入 `bluestacks.conf` 的完整路径(注意斜杠要用转义 `\\`
示例:(以 `C:\ProgramData\BlueStacks_nxt\bluestacks.conf` 为例)

View File

@@ -1,157 +0,0 @@
{
"type": "SSS",
"stage_name": "多索雷斯在建地块",
"minimum_required": "v4.9.0",
"doc": {
"title": "保全测试作业"
},
"buff": "镀膜装置导能阀",
"equipment": [
"A",
"A",
"A",
"A",
"A",
"A",
"A",
"A"
],
"strategy": "优选策略",
"opers": [
{
"name": "泥岩",
"skill": 2
},
{
"name": "水月",
"skill": 2,
"skill_usage": 1
}
],
"tool_men": {
"先锋": 3,
"近卫": 6,
"医疗": 2
},
"drops": [
"空弦",
"能天使",
"先锋",
"Support",
"无需增调干员",
"重整导能组件",
"反制导能组件",
"战备激活阀",
"改派发讯器"
],
"stages": [
{
"stage_name": "蜂拥而上",
"strategies": [
{
"core": "泥岩",
"tool_men": {
"先锋": 2
},
"location": [
6,
2
],
"direction": "Left"
},
{
"core": "水月",
"tool_men": {
"近卫": 2
},
"location": [
5,
2
],
"direction": "Left"
},
{
"tool_men": {
"辅助": 100
},
"location": [
5,
3
],
"direction": "Left"
}
],
"draw_as_possible": true,
"actions": [
{
"type": "二倍速"
}
],
"retry_times": 3
},
{
"stage_name": "见者有份",
"strategies": [
{
"core": "泥岩",
"tool_men": {
"先锋": 3
},
"location": [
4,
2
],
"direction": "Left"
},
{
"tool_men": {
"医疗": 100
},
"location": [
3,
3
],
"direction": "Right"
},
{
"core": "水月",
"tool_men": {
"近卫": 3
},
"location": [
4,
3
],
"direction": "Left"
},
{
"tool_men": {
"辅助": 100
},
"location": [
5,
3
],
"direction": "Left"
},
{
"tool_men": {
"近卫": 100
},
"location": [
4,
4
],
"direction": "Left"
}
],
"draw_as_possible": true,
"actions": [
{
"type": "二倍速"
}
],
"retry_times": 3
}
]
}

View File

@@ -0,0 +1,499 @@
{
"type": "SSS",
"stage_name": "多索雷斯在建地块",
"minimum_required": "v4.9.0",
"doc": {
"title": "多索雷斯保全(应急)",
"title_color": "dark",
"details": "作者:YueShen\n多索雷斯保全(应急)\n选镀膜装置导能阀\n要手动编队\n有问题群里找管理咕咕咕\n\n同时支持标准和应急补给模式",
"details_color": "dark"
},
"buff": "镀膜装置导能阀",
"equipment": [
"A",
"A",
"A",
"A",
"A",
"A",
"A",
"A"
],
"strategy": "优选策略",
"opers": [
{
"name": "棘刺",
"skill": 3,
"skill_usage": 1
},
{
"name": "泥岩",
"skill": 2,
"skill_usage": 0
},
{
"name": "桃金娘",
"skill": 1,
"skill_usage": 1
},
{
"name": "煌",
"skill": 2,
"skill_usage": 0
},
{
"name": "塞雷娅",
"skill": 1,
"skill_usage": 0
}
],
"tool_men": {
"先锋": 1,
"近卫": 2,
"辅助": 8,
"重装": 2,
"狙击": 2
},
"drops": [
"近卫",
"无需增调干员",
"辅助",
"重装",
"狙击",
"术士",
"战备激活阀",
"改派发讯器",
"反制导能组件"
],
"blacklist": [
"罗比菈塔",
"掠风",
"白铁",
"史尔特尔",
"玛恩纳",
"龙舌兰",
"幽灵鲨",
"耀骑士临光"
],
"stages": [
{
"stage_name": "蜂拥而上",
"strategies": [
{
"core": "棘刺",
"tool_men": {
"近卫": 1
},
"location": [
5,
2
],
"direction": "Down"
},
{
"core": "桃金娘",
"tool_men": {
"先锋": 1
},
"location": [
6,
2
],
"direction": "Down"
},
{
"core": "泥岩",
"tool_men": {
"重装": 1
},
"location": [
5,
4
],
"direction": "Left"
},
{
"tool_men": {
"辅助": 100
},
"location": [
5,
3
],
"direction": "Left"
}
],
"draw_as_possible": true,
"actions": [
{
"type": "二倍速"
}
],
"retry_times": 5
},
{
"stage_name": "见者有份",
"strategies": [
{
"core": "棘刺",
"tool_men": {
"近卫": 2
},
"location": [
4,
1
],
"direction": "Down"
},
{
"core": "泥岩",
"tool_men": {
"重装": 2
},
"location": [
4,
5
],
"direction": "Up"
},
{
"tool_men": {
"辅助": 100
},
"location": [
5,
3
],
"direction": "Left"
}
],
"draw_as_possible": true,
"actions": [
{
"type": "二倍速"
}
],
"retry_times": 5
},
{
"stage_name": "产业升级",
"strategies": [
{
"core": "煌",
"tool_men": {
"近卫": 3
},
"location": [
5,
3
],
"direction": "Left"
},
{
"core": "泥岩",
"tool_men": {
"重装": 3
},
"location": [
4,
3
],
"direction": "Left"
},
{
"core": "桃金娘",
"tool_men": {
"先锋": 1
},
"location": [
6,
3
],
"direction": "Left"
},
{
"tool_men": {
"辅助": 100,
"狙击": 100
},
"location": [
5,
4
],
"direction": "Left"
}
],
"draw_as_possible": true,
"actions": [
{
"type": "二倍速"
},
{
"type": "部署",
"name": "镀膜装置导能阀",
"location": [
4,
2
],
"direction": "Down"
},
{
"type": "GetDrops",
"kills": 14,
"pre_delay": 2000
},
{
"type": "GetDrops",
"kills": 27,
"pre_delay": 2000
}
],
"retry_times": 5
},
{
"stage_name": "同流合污",
"strategies": [
{
"core": "煌",
"tool_men": {
"近卫": 3
},
"location": [
6,
1
],
"direction": "Left"
},
{
"core": "泥岩",
"tool_men": {
"重装": 4
},
"location": [
5,
1
],
"direction": "Left"
},
{
"core": "塞雷娅",
"tool_men": {
"近卫": 3
},
"location": [
7,
1
],
"direction": "Left"
},
{
"core": "桃金娘",
"tool_men": {
"先锋": 1
},
"location": [
8,
1
],
"direction": "Left"
},
{
"tool_men": {
"辅助": 100,
"狙击": 100
},
"location": [
6,
2
],
"direction": "Left"
}
],
"draw_as_possible": true,
"actions": [
{
"type": "二倍速"
},
{
"type": "部署",
"name": "镀膜装置导能阀",
"location": [
5,
2
],
"direction": "Up"
}
],
"retry_times": 5
},
{
"stage_name": "酩酊之旅",
"strategies": [
{
"core": "煌",
"tool_men": {
"近卫": 5
},
"location": [
8,
1
],
"direction": "Down"
},
{
"core": "泥岩",
"tool_men": {
"重装": 4
},
"location": [
8,
4
],
"direction": "Up"
},
{
"core": "桃金娘",
"tool_men": {
"先锋": 1
},
"location": [
9,
5
],
"direction": "Left"
},
{
"tool_men": {
"辅助": 100
},
"location": [
7,
2
],
"direction": "Down"
},
{
"tool_men": {
"狙击": 100
},
"location": [
9,
3
],
"direction": "Left"
}
],
"draw_as_possible": true,
"actions": [
{
"type": "二倍速"
},
{
"type": "部署",
"name": "镀膜装置导能阀",
"location": [
7,
4
],
"direction": "Right"
},
{
"type": "部署",
"name": "塞雷娅",
"location": [
8,
2
],
"direction": "Down"
}
],
"retry_times": 5
},
{
"stage_name": "一块肉排",
"strategies": [
{
"core": "棘刺",
"tool_men": {
"近卫": 4
},
"location": [
7,
4
],
"direction": "Left"
},
{
"core": "泥岩",
"tool_men": {
"重装": 4
},
"location": [
5,
4
],
"direction": "Up"
},
{
"core": "桃金娘",
"tool_men": {
"先锋": 1
},
"location": [
9,
6
],
"direction": "Left"
},
{
"core": "塞雷娅",
"tool_men": {
"近卫": 3,
"先锋": 1
},
"location": [
7,
5
],
"direction": "Up"
},
{
"tool_men": {
"辅助": 100
},
"location": [
8,
4
],
"direction": "Left"
},
{
"tool_men": {
"狙击": 100
},
"location": [
8,
3
],
"direction": "Left"
}
],
"draw_as_possible": true,
"actions": [
{
"type": "二倍速"
},
{
"type": "部署",
"name": "镀膜装置导能阀",
"location": [
4,
4
],
"direction": "Right"
}
],
"retry_times": 5
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -2685,6 +2685,56 @@
"ban_medic": false
}
},
{
"stage_name": "酒商运输队",
"replacement_home": [
{
"location": [
9,
3
],
"direction": "left"
}
],
"blacklist_location": [
[
1,
4
],
[
2,
2
],
[
3,
4
],
[
4,
2
],
[
5,
4
],
[
6,
2
],
[
7,
4
],
[
8,
2
],
[
9,
4
]
]
},
{
"stage_name": "意外",
"replacement_home": [

View File

@@ -844,13 +844,7 @@
"text": [
"WB-7"
],
"cache": false,
"roi": [
0,
283,
1280,
324
]
"cache": false
},
"StageWB-8": {
"action": "ClickSelf",
@@ -858,13 +852,7 @@
"text": [
"WB-8"
],
"cache": false,
"roi": [
0,
283,
1280,
324
]
"cache": false
},
"StageWB-9": {
"action": "ClickSelf",
@@ -872,13 +860,7 @@
"text": [
"WB-9"
],
"cache": false,
"roi": [
0,
283,
1280,
324
]
"cache": false
},
"IW-6": {
"algorithm": "JustReturn",
@@ -9381,6 +9363,23 @@
288,
144
],
"next": [
"SSSBuffChoose",
"SSSDebuffConfirm"
]
},
"SSSDebuffConfirm": {
"action": "ClickSelf",
"algorithm": "OcrDetect",
"text": [
"确认完毕"
],
"roi": [
992,
576,
288,
144
],
"next": [
"SSSBuffChoose"
]

View File

@@ -58,21 +58,21 @@ bool asst::SSSBattleProcessTask::do_strategic_action(const cv::Mat& reusable)
{
LogTraceFunction;
cv::Mat image = reusable.empty() ? ctrler()->get_image() : reusable;
if (check_and_do_strategy(image)) {
return true;
}
if (check_and_get_drops(image)) {
return true;
}
if (use_all_ready_skill(image)) {
return true;
}
if (m_sss_combat_data.draw_as_possible && draw_card(false, image)) {
return true;
image = ctrler()->get_image();
}
if (check_and_do_strategy(image)) {
image = ctrler()->get_image();
}
if (use_all_ready_skill(image)) {
//image = ctrler()->get_image();
}
return true;