docs: 更新肉鸽协议文档

https://github.com/MaaAssistantArknights/MaaAssistantArknights/pull/2167
This commit is contained in:
MistEO
2022-10-07 18:42:21 +08:00
parent 278c63938d
commit c2dd0a67b6
4 changed files with 75 additions and 33 deletions

View File

@@ -8,19 +8,30 @@
[
{
"stage_name": "驯兽小屋", // 关卡名,必选
"replacement_home": [ // 替换掉家门的位置,可选,默认为空
[ 2, 8 ] // 会使用这里面的坐标来代替蓝门的坐标,然后堵门
"replacement_home": { // 替换掉家门的位置,可选,默认为空
"location": [ // 会使用这里面的坐标来代替蓝门的坐标,然后堵门
6,
4
],
"direction": "left" // 优先朝向,但并不代表绝对是这个方向(算法自行判断)
// 不填默认 none即没有推荐方向完全由算法自行判断
// "none / left / right / up / down / 无 / 上 / 下 / 左 / 右"
},
"blacklist_location": [ // 黑名单点,永远不会在这个格子上部署干员
[
0,
0
],
[
1,
1
]
],
"key_kills": [ // 关键击杀数,可选,默认为空
15, // 若不为空,干员技能会攒着,不是好了就放,而是等到击杀数达到时再释放
... // 当跑完数组里所有的元素之后,再把干员技能变成好了就放
]
},
{
"stage_name": "巡逻队",
"replacement_home": [
[ 2, 8 ]
]
}
...
]
```

View File

@@ -8,19 +8,29 @@ Usage of `resource/roguelike_copilot.json` and description of each field
[
{
"stage_name": "驯兽小屋", // Stage name, required
"replacement_home": [ // Replace the position of home, optional, empty by default
[ 2, 8 ] // The coordinates of the home
"replacement_home": { // Replace the position of home, optional, empty by default
"location": [
6,
4
],
"direction": "left" // Recommended direction, default by none.
// "none / left / right / up / down / 无 / 上 / 下 / 左 / 右"
},
"blacklist_location": [
[
0,
0
],
[
1,
1
]
],
"key_kills": [ // The number of key kills, optional, empty by default
15, // If this value is not empty, the operators will keep their skills and cast them when the number of kills reach the value, instead of casting when ready.
... // When all elements are processed, operators will cast skills when they are ready.
]
},
{
"stage_name": "巡逻队",
"replacement_home": [
[ 2, 8 ]
]
}
...
]
```

View File

@@ -8,19 +8,29 @@
[
{
"stage_name": "驯兽小屋", // ステージ名, 必須CN版準拠での入力
"replacement_home": [ // 基準点の変更, オプション機能, デフォルトは空欄
[ 2, 8 ] // 基準点座標
"replacement_home": { // 基準点の変更, オプション機能, デフォルトは空欄
"location": [
6,
4
],
"direction": "left" // Recommended direction, default by none.
// "none / left / right / up / down / 无 / 上 / 下 / 左 / 右"
},
"blacklist_location": [
[
0,
0
],
[
1,
1
]
],
"key_kills": [ // キル数でのトリガー, オプション機能, デフォルトは空欄
15, // この値が0でない場合、オペレーターは準備ができたときにスキルを使用せず、キル数がこの値に達した際に使用します。
... // すべての要素が処理されれば、オペレーターは準備が整った時点でスキルを使用します。
]
},
{
"stage_name": "巡逻队",
"replacement_home": [
[ 2, 8 ]
]
}
...
]
```

View File

@@ -7,20 +7,31 @@
```jsonc
[
{
"stage_name": "馴獸小屋", // 關卡名,必選
"replacement_home": [ // 替換掉家門的位置,可選,預設為空
[ 2, 8 ] // 會使用這裡面的坐標來代替藍門的坐標,然後堵門
"stage_name": "驯兽小屋", // 關卡名,必選
"replacement_home": { // 替換掉家門的位置,可選,預設為空
"location": [ // 會使用這裡面的坐標來代替藍門的坐標,然後堵門
6,
4
],
"direction": "left" // 优先朝向,但并不代表绝对是这个方向(算法自行判断)
// 不填默认 none即没有推荐方向完全由算法自行判断
// "none / left / right / up / down / 无 / 上 / 下 / 左 / 右"
},
"blacklist_location": [ // 黑名单位置,永远不会在这个格子上部署干员
[
0,
0
],
[
1,
1
]
],
"key_kills": [ // 關鍵擊殺數,可選,預設為空
15, // 若不為空,幹員技能會攢著,不是好了就放,而是等到擊殺數達到時再釋放
... // 當跑完陣列裡所有的元素之後,再把幹員技能變成好了就放
]
},
{
"stage_name": "巡邏隊",
"replacement_home": [
[ 2, 8 ]
]
}
...
]
```