mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
feat: 更新肉鸽协议文档和界园肉鸽商品列表 (#14873)
* feat: 更新肉鸽协议文档和界园肉鸽商品列表 * chore: Auto update by pre-commit hooks [skip changelog] * fix: 将no修改为No --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -630,7 +630,7 @@ The Encounter options can be modified to guide MAA towards special endings
|
||||
// False or omitted, means that the store has it.
|
||||
"effect": "每有5源石锭, 所有我方单位的攻击速度+7", // Collectible effect ("For every 5 Originium Ingots, all friendly units get +7 ASPD")
|
||||
// (does not affect the operation, useful for convenient sorting)
|
||||
"no": 167 // Collectible number (can be found in the wiki, does not affect the operation)
|
||||
"No": 167 // Collectible number (can be found in the wiki, does not affect the operation)
|
||||
},
|
||||
|
||||
...
|
||||
@@ -641,7 +641,7 @@ The Encounter options can be modified to guide MAA towards special endings
|
||||
// you will try to buy the Hand of Diffusion when you encounter it)
|
||||
],
|
||||
"effect": "【扩散术师】、【链术师】和【轰击术师】每对一个单位造成伤害就回复2点技力值", // ("[Diffusion Artist], [Chain Artist], and [Blast Artist] regain 2 SP for each unit they deal damage to.")
|
||||
"no": 136
|
||||
"No": 136
|
||||
},
|
||||
...
|
||||
|
||||
@@ -652,7 +652,7 @@ The Encounter options can be modified to guide MAA towards special endings
|
||||
// you will try to buy a Halberd-Breaker when you encounter it)
|
||||
],
|
||||
"effect": "所有【近卫】干员的防御力-40%,但攻击力+40%,攻击速度+30", // ("All [Guard] Operators members have -40% Defence, but +40% Attack Power and +30% Attack Speed.")
|
||||
"no": 16
|
||||
"No": 16
|
||||
},
|
||||
...
|
||||
|
||||
@@ -660,7 +660,7 @@ The Encounter options can be modified to guide MAA towards special endings
|
||||
"name": "Miss.Christine摸摸券", // ("Miss.Christine摸摸券" = "Miss.Christine Touch coupon")
|
||||
"promotion": 2, // Purchased when there are 2 operators in the team to be promoted
|
||||
"effect": "立即进阶两个干员(不消耗希望)", // ("Immediate promote two operators (Does not consume Hope)")
|
||||
"no": 15
|
||||
"No": 15
|
||||
},
|
||||
...
|
||||
|
||||
|
||||
@@ -494,7 +494,7 @@ OCRで思わぬ遭遇イベントを認識しますが、選択肢は固定さ
|
||||
"no_longer_buy": true, //trueは、この秘宝を手に入れた後、もうお金を使って秘宝を買わないことを示します。falseまたは省略された場合、引き続きお金を使って秘宝を買います
|
||||
"ignore_no_longer_buy": true, //trueは、店にこの秘宝がある場合、"no_longer_buy"を無視してそれを買うことを示します。falseまたは省略された場合、"no_longer_buy"の秘宝が手に入った後、その秘宝を購入しなくなります
|
||||
"effect": "每有5源石锭,所有我方单位的攻击速度+7", //秘宝の效果(プログラムの実行に影響しません。並べ替えるのに便利です)
|
||||
"no": 167 //秘宝番号(wikiで確認できます。プログラムの実行に影響しません。並べ替えるのに便利です)
|
||||
"No": 167 //秘宝番号(wikiで確認できます。プログラムの実行に影響しません。並べ替えるのに便利です)
|
||||
},
|
||||
|
||||
...
|
||||
@@ -504,7 +504,7 @@ OCRで思わぬ遭遇イベントを認識しますが、選択肢は固定さ
|
||||
"异客" //(ここでは、チームにパッセンジャーがいる場合、拡散の手と出会えた場合、購入を試みます)
|
||||
],
|
||||
"effect": "【扩散术师】、【链术师】和【轰击术师】每对一个单位造成伤害就回复2点技力值",
|
||||
"no": 136
|
||||
"No": 136
|
||||
},
|
||||
...
|
||||
|
||||
@@ -514,7 +514,7 @@ OCRで思わぬ遭遇イベントを認識しますが、選択肢は固定さ
|
||||
"WARRIOR" //(ここでは、チームに前衛干員がいる場合、折戟-破釜沉舟に遭遇した場合、購入を試みます)
|
||||
],
|
||||
"effect": "所有【近卫】干员的防御力-40%,但攻击力+40%,攻击速度+30",
|
||||
"no": 16
|
||||
"No": 16
|
||||
},
|
||||
...
|
||||
|
||||
@@ -522,7 +522,7 @@ OCRで思わぬ遭遇イベントを認識しますが、選択肢は固定さ
|
||||
"name": "Miss.Christine摸摸券",
|
||||
"promotion": 2, //2人のオペレーターが昇進する必要があるときにこの秘宝を購入します(かな?)
|
||||
"effect": "立即进阶两个干员(不消耗希望)",
|
||||
"no": 15
|
||||
"No": 15
|
||||
},
|
||||
```
|
||||
|
||||
|
||||
@@ -528,7 +528,7 @@ OCR이 조우를 인식하지만 선택은 고정된 위치에서 이루어집
|
||||
// 즉, 구매함
|
||||
// false 또는 생략된 경우, 상점에 있음
|
||||
"effect": "每有5源石锭, 所有我方单位的攻击速度+7", // 수집품 효과 (운영에는 영향을 미치지 않으며 정렬에 유용함)
|
||||
"no": 167 // 수집품 번호 (위키에서 찾을 수 있으며, 운영에는 영향을 미치지 않음)
|
||||
"No": 167 // 수집품 번호 (위키에서 찾을 수 있으며, 운영에는 영향을 미치지 않음)
|
||||
},
|
||||
|
||||
...
|
||||
@@ -539,7 +539,7 @@ OCR이 조우를 인식하지만 선택은 고정된 위치에서 이루어집
|
||||
// Hand of Diffusion을 만났을 때 구매하려고 시도함)
|
||||
],
|
||||
"effect": "[Diffusion Artist], [Chain Artist], and [Blast Artist] regain 2 SP for each unit they deal damage to.",
|
||||
"no": 136
|
||||
"No": 136
|
||||
},
|
||||
...
|
||||
|
||||
@@ -550,7 +550,7 @@ OCR이 조우를 인식하지만 선택은 고정된 위치에서 이루어집
|
||||
// Halberd-Breaker를 만났을 때 구매하려고 시도함)
|
||||
],
|
||||
"effect": "All [Guard] Operators members have -40% Defence, but +40% Attack Power and +30% Attack Speed.",
|
||||
"no": 16
|
||||
"No": 16
|
||||
},
|
||||
...
|
||||
|
||||
@@ -558,7 +558,7 @@ OCR이 조우를 인식하지만 선택은 고정된 위치에서 이루어집
|
||||
"name": "Miss.Christine Touch coupon",
|
||||
"promotion": 2, // 팀에 승진할 오퍼레이터가 2명 있을 때 구매함
|
||||
"effect": "Immediate promote two operators (Does not consume Hope)",
|
||||
"no": 15
|
||||
"No": 15
|
||||
},
|
||||
```
|
||||
|
||||
|
||||
@@ -606,7 +606,7 @@ OCR 识别不期而遇事件名称,但是选项是操作固定的位置
|
||||
"no_longer_buy": true, //true表示获得该藏品后不在花钱买藏品,false或者省略表示继续花钱买藏品
|
||||
"ignore_no_longer_buy": true, //true表示商店有该藏品时忽略"no_longer_buy",就是还会买它,false或者省略表示拿到有"no_longer_buy"的藏品后不会购买这个藏品
|
||||
"effect": "每有5源石锭,所有我方单位的攻击速度+7", //藏品效果(不影响程序运行,备注效果方便排序)
|
||||
"no": 167 //藏品编号,wiki可查(不影响程序运行,备注方便排序)
|
||||
"No": 167 //藏品编号,wiki可查(不影响程序运行,备注方便排序)
|
||||
},
|
||||
|
||||
...
|
||||
@@ -616,7 +616,7 @@ OCR 识别不期而遇事件名称,但是选项是操作固定的位置
|
||||
"异客" //(这里表示队伍中有异客时,遇到扩散之手,就会尝试购买)
|
||||
],
|
||||
"effect": "【扩散术师】、【链术师】和【轰击术师】每对一个单位造成伤害就回复2点技力值",
|
||||
"no": 136
|
||||
"No": 136
|
||||
},
|
||||
...
|
||||
|
||||
@@ -626,7 +626,7 @@ OCR 识别不期而遇事件名称,但是选项是操作固定的位置
|
||||
"WARRIOR" //(这里表示队伍中有近卫干员时,遇到折戟-破釜沉舟,就会尝试购买)
|
||||
],
|
||||
"effect": "所有【近卫】干员的防御力-40%,但攻击力+40%,攻击速度+30",
|
||||
"no": 16
|
||||
"No": 16
|
||||
},
|
||||
...
|
||||
|
||||
@@ -634,7 +634,7 @@ OCR 识别不期而遇事件名称,但是选项是操作固定的位置
|
||||
"name": "Miss.Christine摸摸券",
|
||||
"promotion": 2, //队伍中有2个干员要晋升的时候购买(吧?)
|
||||
"effect": "立即进阶两个干员(不消耗希望)",
|
||||
"no": 15
|
||||
"No": 15
|
||||
},
|
||||
...
|
||||
|
||||
|
||||
@@ -479,7 +479,7 @@ OCR 辨識不期而遇事件,但是選項是操作固定的位置
|
||||
"no_longer_buy": true, //true 表示獲得該藏品後不在花錢買藏品,false 或者省略表示繼續花錢買藏品
|
||||
"ignore_no_longer_buy": true, //true 表示商店有該藏品時忽略 "no_longer_buy",就是還會買它,false 或者省略表示拿到有 "no_longer_buy" 的藏品後不會購買這個藏品
|
||||
"effect": "每有5源石錠,所有我方單位的攻擊速度+7", //藏品效果
|
||||
"no": 167 //藏品編號,wiki 可查
|
||||
"No": 167 //藏品編號,wiki 可查
|
||||
},
|
||||
|
||||
...
|
||||
@@ -489,7 +489,7 @@ OCR 辨識不期而遇事件,但是選項是操作固定的位置
|
||||
"異客" //(這裡表示隊伍中有異客時,遇到擴散之手,就會嘗試購買)
|
||||
],
|
||||
"effect": "【擴散術師】、【鏈術師】和【轟擊術師】每對一個單位造成傷害就回覆2點技力值",
|
||||
"no": 136
|
||||
"No": 136
|
||||
},
|
||||
...
|
||||
|
||||
@@ -499,7 +499,7 @@ OCR 辨識不期而遇事件,但是選項是操作固定的位置
|
||||
"WARRIOR" //(這裡表示隊伍中有近衛幹員時,遇到折戟-破釜沈舟,就會嘗試購買)
|
||||
],
|
||||
"effect": "所有【近衛】幹員的防禦力-40%,但攻擊力+40%,攻擊速度+30",
|
||||
"no": 16
|
||||
"No": 16
|
||||
},
|
||||
...
|
||||
|
||||
@@ -507,7 +507,7 @@ OCR 辨識不期而遇事件,但是選項是操作固定的位置
|
||||
"name": "Miss.Christine摸摸券",
|
||||
"promotion": 2, //隊伍中有 2 個幹員要晉升的時候購買(吧?)
|
||||
"effect": "立即進階兩個幹員(不消耗希望)",
|
||||
"no": 15
|
||||
"No": 15
|
||||
},
|
||||
```
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
2
tools/RoguelikeRelicsExtractor/.gitignore
vendored
Normal file
2
tools/RoguelikeRelicsExtractor/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
roguelike_topic_table.json
|
||||
shopping.json
|
||||
22
tools/RoguelikeRelicsExtractor/RoguelikeRelicsExtractor.py
Normal file
22
tools/RoguelikeRelicsExtractor/RoguelikeRelicsExtractor.py
Normal file
@@ -0,0 +1,22 @@
|
||||
import json
|
||||
|
||||
with open("roguelike_topic_table.json", "r", encoding="utf-8") as f:
|
||||
data = json.load(f)
|
||||
|
||||
items = data["details"]["rogue_5"]["archiveComp"]["relic"]["relic"]
|
||||
item_details = data["details"]["rogue_5"]["items"]
|
||||
item_exports = []
|
||||
for item in items.values():
|
||||
item_unique_id = item["relicId"]
|
||||
item_id = int(item["orderId"])
|
||||
item_detail = item_details[item_unique_id]
|
||||
item_name = item_detail["name"]
|
||||
item_usage = item_detail["usage"]
|
||||
item_exports.append({"name": item_name, "effect": item_usage, "No": item_id})
|
||||
final_data = {
|
||||
"theme": "JieGarden",
|
||||
"priority": item_exports,
|
||||
"other": [{"doc": "不会主动购买的藏品"}],
|
||||
}
|
||||
with open("shopping.json", "w", encoding="utf-8") as f:
|
||||
json.dump(final_data, f, ensure_ascii=False, indent=4)
|
||||
Reference in New Issue
Block a user